Skip to content

Commit

Permalink
Add non-root user
Browse files Browse the repository at this point in the history
Signed-off-by: Julia Pineda <Julia.Pineda@analog.com>
  • Loading branch information
jpineda3 committed Nov 26, 2024
1 parent 392a340 commit 44e71a2
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 44e71a2

Please sign in to comment.