[FIX] get root cert into the busybox

This commit is contained in:
David Arnold
2018-02-11 15:43:45 -05:00
parent 0eb6656705
commit f081131560
2 changed files with 12 additions and 0 deletions

View File

@@ -1,5 +1,11 @@
FROM alpine as certs
RUN apk update && apk add ca-certificates
FROM busybox:glibc
COPY --from=certs /etc/ssl/certs /etc/ssl/certs
# Get restic executable
ENV RESTIC_VERION=0.8.1
ADD https://github.com/restic/restic/releases/download/v${RESTIC_VERION}/restic_${RESTIC_VERION}_linux_amd64.bz2 /