From 9b77b744e0f9a392d00d7b00fcb30015e9ba738c Mon Sep 17 00:00:00 2001 From: amorozov Date: Mon, 3 Mar 2025 04:16:50 +0300 Subject: [PATCH] updated Dockerfile --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index ee38699..33232a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -121,6 +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 COPY setup-sshd /usr/local/bin/setup-sshd RUN chmod a+x /usr/local/bin/setup-sshd