Add certificates to docker image

This commit is contained in:
Valentin Brandl 2019-07-26 14:52:47 +02:00
parent 82ba24479c
commit 22c2cc8202
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D

View File

@ -21,6 +21,8 @@ RUN USER=root adduser -D -u 10001 dummy
FROM scratch FROM scratch
# copy certificates
COPY --from=linuxkit/ca-certificates:v0.7 / /
COPY --from=user_builder /etc/passwd /etc/passwd COPY --from=user_builder /etc/passwd /etc/passwd
USER dummy USER dummy