Skip to content

Commit

Permalink
Fix dockerfile indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
RazvanLiviuVarzaru committed Jan 8, 2025
1 parent a72f794 commit 8d0be50
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions ci_build_images/hashicorp.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
# INSTALL HASHICORP VAULT
# USAGE: vault server -dev > /dev/null 2>&1 &

RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] \
https://apt.releases.hashicorp.com $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/hashicorp.list \
&& apt-get update \
&& apt-get -y install --no-install-recommends vault \
&& setcap cap_ipc_lock=-ep "$(readlink -f "$(which vault)")" \
&& apt-get clean
RUN . /etc/os-release \
&& curl -fsSL https://apt.releases.hashicorp.com/gpg | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] \
https://apt.releases.hashicorp.com $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/hashicorp.list \
&& apt-get update \
&& apt-get -y install --no-install-recommends vault \
&& setcap cap_ipc_lock=-ep "$(readlink -f "$(which vault)")" \
&& apt-get clean

# VAULT CONFIGURATION
ENV VAULT_DEV_ROOT_TOKEN_ID='MTR'
Expand Down

0 comments on commit 8d0be50

Please sign in to comment.