Install ca-certificates instead of copying them

There is a package for alpine:
https://pkgs.alpinelinux.org/packages?name=ca-certificates&branch=v3.6
This commit is contained in:
Martynas Pumputis committed 2018-02-01 14:44:00 +01:00
1 parent 7a9fae5892
commit 0268aeb25f
2 files changed
+1 -4487

No files matched your search

+1 -1
View File
@@ -21,11 +21,11 @@ RUN apk add --update \
util-linux \
conntrack-tools \
bind-tools \
ca-certificates \
&& rm -rf /var/cache/apk/*
ADD ./weave ./weaver /home/weave/
ADD ./weaveutil /usr/bin/
ADD weavedata.db /weavedb/
COPY ca-certificates.crt /etc/ssl/certs/
ENTRYPOINT ["/home/weave/weaver"]
WORKDIR /home/weave
File diff suppressed because it is too large. Load diff