chore: updated setup-sshd
All checks were successful
Gitea/docker-base-images/jenkins-ssh-agent-jdk17-dind/pipeline/head This commit looks good
All checks were successful
Gitea/docker-base-images/jenkins-ssh-agent-jdk17-dind/pipeline/head This commit looks good
This commit is contained in:
parent
23b53821ef
commit
ae52dce4ed
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
dockerd-entrypoint.sh &
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
@ -78,8 +79,5 @@ fi
|
|||||||
# generate host keys if not present
|
# generate host keys if not present
|
||||||
ssh-keygen -A
|
ssh-keygen -A
|
||||||
|
|
||||||
# theswayfarer's patch
|
|
||||||
exec dockerd-entrypoint.sh
|
|
||||||
|
|
||||||
# do not detach (-D), log to stderr (-e), passthrough other arguments
|
# do not detach (-D), log to stderr (-e), passthrough other arguments
|
||||||
exec /usr/sbin/sshd -D -e "${@}"
|
exec /usr/sbin/sshd -D -e "${@}"
|
||||||
|
Loading…
Reference in New Issue
Block a user