Skip to content

Commit

Permalink
try ussermod
Browse files Browse the repository at this point in the history
  • Loading branch information
dfry committed May 16, 2023
1 parent a6daf65 commit 2119298
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ 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
RUN groupadd -g "${GID}" vault && mkdir -p /home/vault \
&& usermod -l vault -g "${GID}" -d /home/vault _apt

# 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 2119298

Please sign in to comment.