updated Dockerfile
Some checks failed
Gitea/docker-base-images/jenkins-ssh-agent-jdk17-dind/pipeline/head There was a failure building this commit
Some checks failed
Gitea/docker-base-images/jenkins-ssh-agent-jdk17-dind/pipeline/head There was a failure building this commit
This commit is contained in:
parent
9b77b744e0
commit
cefcb44095
@ -121,7 +121,7 @@ WORKDIR "${JENKINS_AGENT_HOME}"
|
||||
# The file path has been created earlier in the file by `mkdir -p` and we also have configured sshd so that it will
|
||||
# allow environment variables to be sourced (see `sed` command related to `PermitUserEnvironment`)
|
||||
RUN echo "PATH=${PATH}" >> ${JENKINS_AGENT_HOME}/.ssh/environment
|
||||
RUN echo "PATH=${PATH}" >> /root/.ssh/environment
|
||||
RUN echo mkdir -p /root/.ssh/ && "PATH=${PATH}" >> /root/.ssh/environment
|
||||
COPY setup-sshd /usr/local/bin/setup-sshd
|
||||
RUN chmod a+x /usr/local/bin/setup-sshd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user