Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rkfella authored Jan 30, 2025
1 parent 7c908af commit 867c7f7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,11 @@ RUN rm -rf \
find /usr/local/aws-cli/v2/current/dist/awscli/botocore/data -name examples-1.json -delete


FROM alpine:3.21.2@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099

LABEL maintainer="Georgi Panov"
FROM alpine:3.21

USER root

COPY --from=hashicorp/vault:1.18.4@sha256:790a848da73ea8260e982e79b1e320e899836a24bf059c1e8484d040623b6b93 /bin/vault /usr/local/bin/vault
COPY --from=hashicorp/vault:1.18 /bin/vault /usr/local/bin/vault
RUN vault --version

COPY --from=builder /usr/local/aws-cli /usr/local/aws-cli
Expand All @@ -55,3 +53,7 @@ RUN chmod +x /entrypoint.sh
USER nobody:nogroup

ENTRYPOINT ["/usr/bin/catatonit", "--", "/entrypoint.sh"]

LABEL org.opencontainers.image.source="https://github.com/hashicorp/vault"
org.opencontainers.image.title="vault-backup"
LABEL org.opencontainers.image.authors="Georgi Panov"

0 comments on commit 867c7f7

Please sign in to comment.