Skip to content

Commit

Permalink
sudo useradd
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-salesforce committed May 21, 2024
1 parent 2726173 commit 678185e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG STACK
ARG GOOGLE_CHROME_CHANNEL

# Emulate the platform where root access is not available
RUN useradd -m -d /app non-root-user
RUN sudo useradd -m -d /app non-root-user
RUN mkdir -p /app /cache /env
RUN chown non-root-user /app /cache /env
USER non-root-user
Expand Down

0 comments on commit 678185e

Please sign in to comment.