Skip to content

Commit

Permalink
removing root home directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Shihab Suliman committed May 17, 2024
1 parent c846710 commit bf3668a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ RUN adduser --comment "" --uid $RUNNER_UID runner \
&& echo "%wheel ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers \
&& echo "Defaults env_keep += \"DEBIAN_FRONTEND\"" >> /etc/sudoers

ENV HOME=/home/runner

RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \
&& if [ "$ARCH" = "arm64" ]; then export ARCH=aarch64 ; fi \
&& if [ "$ARCH" = "amd64" ] || [ "$ARCH" = "i386" ]; then export ARCH=x86_64 ; fi \
Expand Down

0 comments on commit bf3668a

Please sign in to comment.