Skip to content

Commit

Permalink
Update and rename setup-sshd.sh to start.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Mar 24, 2024
1 parent f897473 commit 2180de7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions setup-sshd.sh → start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,4 @@ chmod 700 /tmp/.ssh
chmod 600 /tmp/.ssh/authorized_keys
chown -R 1000:1000 /tmp

if [ -S /var/run/docker.sock ]; then
DOCKER_GROUP_ID=$(stat -c '%g' /var/run/docker.sock)
groupadd -g "$DOCKER_GROUP_ID" docker
usermod -aG docker jenkins
fi

exec /usr/sbin/sshd -De

0 comments on commit 2180de7

Please sign in to comment.