Skip to content

Commit

Permalink
add uid/gid to match vault
Browse files Browse the repository at this point in the history
  • Loading branch information
dfry committed May 16, 2023
1 parent 2e37e40 commit a6daf65
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
FROM ubuntu:20.04
ARG VAULT_VERSION=1.13.1
ARG UID=100
ARG GID=1000

RUN groupadd -g "${GID}" vault \
&& useradd --create-home --no-log-init -u "${UID}" -g "${GID}" vault

# Update apt and Install dependencies
RUN apt-get update && apt install software-properties-common -y && add-apt-repository ppa:rmescandon/yq -y \
Expand Down

0 comments on commit a6daf65

Please sign in to comment.