updated Dockerfile
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
cefcb44095
commit
df3d2924d9
@ -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 mkdir -p /root/.ssh/ && "PATH=${PATH}" >> /root/.ssh/environment
|
||||
RUN mkdir -p /root/.ssh/ && echo "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