Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Adding /__w directory to tools image #652

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dockerfiles/tools/Dockerfile
Original file line number Diff line number Diff line change
@@ -34,7 +34,8 @@ RUN set -x \
&& useradd -u 1000 -g 1000 -s /bin/bash -m nonroot \
&& git config --global --add safe.directory '*' \
&& cp /root/.gitconfig /home/nonroot/.gitconfig \
&& chown nonroot:nonroot /home/nonroot/.gitconfig
&& chown nonroot:nonroot /home/nonroot/.gitconfig \
&& mkdir /__w && chown nonroot:nonroot /__w

USER nonroot:nonroot
CMD ["/bin/bash"]