Skip to content

Commit

Permalink
clear /tmp of files created by root
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegillet committed Jan 10, 2025
1 parent c3b1065 commit 371a7fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ RUN mix local.rebar --force && \
RUN MIX_ENV=prod mix escript.build && \
mv exercism_test_helper /opt/test-runner/bin

# clear temp files created by root to avoid permission issues
RUN rm -rf /tmp/*

USER appuser

WORKDIR /opt/test-runner
Expand Down

0 comments on commit 371a7fb

Please sign in to comment.