feat: inject ca-certificates through alpine

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
Henrique Dias 2019-05-11 23:02:37 +01:00
parent 4590884a34
commit 997f21fc55

View File

@ -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