feat: inject ca-certificates through alpine

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
pull/726/head
Henrique Dias 2019-05-11 23:02:37 +01:00
parent 4590884a34
commit 997f21fc55
1 changed files with 4 additions and 2 deletions

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