Skip to content

Commit

Permalink
chore: Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
balajisa09 authored Aug 20, 2024
1 parent 75b2a29 commit f190525
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@ COPY . .
# Build the Go application
RUN go build -o vault-backup-validator . && \
apt-get update && \
apt-get install -y unzip jq && \
apt-get install -y --no-install-recommends unzip jq && \
rm -rf /var/lib/apt/lists/*

#Download and install Vault
ADD https://releases.hashicorp.com/vault/1.14.0/vault_1.14.0_linux_amd64.zip /usr/local/bin/
ADD https://releases.hashicorp.com/vault/1.14.0/vault_1.14.0_linux_amd64.zip /tmp/vault.zip

# Unzip the Vault binary and clean up
RUN unzip /tmp/vault.zip -d /usr/local/bin/ && \
rm /tmp/vault.zip

EXPOSE 8080

Expand Down

0 comments on commit f190525

Please sign in to comment.