Skip to content

Commit

Permalink
Merge pull request #27 from sdgtt/nonroot
Browse files Browse the repository at this point in the history
Add non-root user
  • Loading branch information
tagoylo authored Nov 27, 2024
2 parents 392a340 + 44e71a2 commit 9a2476a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test-harness/Dockerfile-test-harness
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ RUN apt-get clean

# Entrypoint for runtime pre-processing
COPY ../docker-entrypoint-hdl.sh /usr/local/bin/docker-entrypoint.sh

# Create a non-root user
RUN useradd -ms /bin/bash user
3 changes: 3 additions & 0 deletions test-harness/Dockerfile-test-harness-ubuntu22-04
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,6 @@ RUN apt-get clean

# Entrypoint for runtime pre-processing
COPY ../docker-entrypoint-hdl.sh /usr/local/bin/docker-entrypoint.sh

# Create a non-root user
RUN useradd -ms /bin/bash user

0 comments on commit 9a2476a

Please sign in to comment.