From 997f21fc55b57ce7fae4dfa12f298100afda6466 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sat, 11 May 2019 23:02:37 +0100 Subject: [PATCH] feat: inject ca-certificates through alpine License: MIT Signed-off-by: Henrique Dias --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b1ded66c..93fe7e50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ -FROM scratch +FROM alpine:latest as certs +RUN apk --update add ca-certificates -COPY --from=filebrowser/dev /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt +FROM scratch +COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt VOLUME /srv EXPOSE 80