Skip to content

Commit

Permalink
chown /go dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
dudo committed Jan 25, 2025
1 parent 544aea1 commit 04c3db3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,16 @@ RUN userdel -r ubuntu && \
HOME=/home/user git config --global user.name "ArgoCD Test User" && \
HOME=/home/user git config --global user.email "noreply@example.com" && \
HOME=/home/user git config --global --add safe.directory '*' && \
mkdir -p /go && \
mkdir -p /go/src && \
mkdir -p /go/pkg && \
chown -R user:user /go && \
mkdir -p /var/run/sshd && \
mkdir -p /root/.ssh && \
mkdir -p /go && \
chown root /etc/ssh/ssh_host_*_key* && \
chmod 0600 /etc/ssh/ssh_host_*_key && \
mkdir -p /tmp/go-build-cache && \
chown -R user:user /tmp/go-build-cache && \
ln -s /usr/local/bin/node /usr/local/bin/nodejs && \
ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm && \
ln -s /usr/local/lib/node_modules/npm/bin/npx-cli.js /usr/local/bin/npx && \
Expand Down

0 comments on commit 04c3db3

Please sign in to comment.