feat: inject ca-certificates through alpine
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>pull/726/head
parent
4590884a34
commit
997f21fc55
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue