Skip to content

Commit

Permalink
Update start-runner.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
uazo authored Nov 8, 2023
1 parent f24e436 commit 19a8a5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/images/github-runner/start-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ SYSBOX_UID=$(cat /etc/subuid | grep sysbox | cut -d : -f 2)
mkdir -p $GHRUNNERHOME/tmp/proxy
mkdir -p $GHRUNNERHOME/tmp/forward-proxy
mkdir -p $GHRUNNERHOME/redis
mkdir -p $GHRUNNERHOME/var/run

sudo chown $SYSBOX_UID:$SYSBOX_UID $GHRUNNERHOME/tmp/proxy
sudo chown $SYSBOX_UID:$SYSBOX_UID $GHRUNNERHOME/tmp/forward-proxy
sudo chown $SYSBOX_UID:$SYSBOX_UID $GHRUNNERHOME/redis
#sudo rm $GHRUNNERHOME/var/run/docker.socks
#sudo chown $SYSBOX_UID:$SYSBOX_UID $GHRUNNERHOME/docker-inner
sudo chown $SYSBOX_UID:$SYSBOX_UID $GHRUNNERHOME/var/run

docker run --rm -d --runtime=sysbox-runc \
--name=gh-proxy \
Expand Down

0 comments on commit 19a8a5b

Please sign in to comment.