diff --git a/Dockerfile b/Dockerfile index 28fa7ee..163c2ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,12 @@ +FROM alpine:3 as base + +RUN apk add -U --no-cache ca-certificates + FROM scratch ADD bin/vaultcreds /vaultcreds +COPY --from=base /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ + ENTRYPOINT ["/vaultcreds"] -CMD [] \ No newline at end of file +CMD []