Skip to content

Commit

Permalink
Fix vault permission problem
Browse files Browse the repository at this point in the history
  • Loading branch information
pathob committed Jun 24, 2021
1 parent 4548666 commit b1c0f83
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 @@ -35,8 +35,12 @@ RUN helm version \
RUN wget https://github.com/roboll/helmfile/releases/download/v0.139.9/helmfile_linux_amd64 -O /usr/local/bin/helmfile --no-verbose \
&& chmod +x /usr/local/bin/helmfile

# # Install vault
# Install vault

RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add - \
&& apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" \
&& apt-get update && apt-get install -y vault

# Only do that when not running vault as server

RUN setcap cap_ipc_lock= /usr/bin/vault

0 comments on commit b1c0f83

Please sign in to comment.