Skip to content

Commit

Permalink
Include root CAs in spiffe-vault image
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofranssen committed Oct 1, 2021
1 parent 2ac4d6b commit 9c3aa5c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ RUN make build

FROM vault:1.8.2 AS vault-binary

FROM busybox
FROM alpine:3.14.2 as certs
RUN apk update && apk add ca-certificates

FROM busybox:1.33.1
LABEL maintainer="marco.franssen@philips.com"
RUN mkdir -p /app
WORKDIR /app
ENV VAULT_ADDR=
COPY --from=certs /etc/ssl/certs /etc/ssl/certs
COPY --from=builder build/bin/spiffe-vault .
COPY --from=vault-binary bin/vault /usr/local/bin/vault
ENTRYPOINT [ "/app/spiffe-vault" ]

0 comments on commit 9c3aa5c

Please sign in to comment.