fix: 💚 Maybe Fix Alpine now ???
All checks were successful
andreas-personal/jenkins-ssh-docker-agent/pipeline/head This commit looks good
All checks were successful
andreas-personal/jenkins-ssh-docker-agent/pipeline/head This commit looks good
This commit is contained in:
@ -17,4 +17,7 @@ RUN git lfs install --system
|
|||||||
|
|
||||||
# Configure SSH to behave more like Debian - load environment properly
|
# Configure SSH to behave more like Debian - load environment properly
|
||||||
RUN echo 'PermitUserEnvironment yes' >> /etc/ssh/sshd_config
|
RUN echo 'PermitUserEnvironment yes' >> /etc/ssh/sshd_config
|
||||||
RUN echo 'UsePAM yes' >> /etc/ssh/sshd_config
|
RUN echo 'UsePAM yes' >> /etc/ssh/sshd_config
|
||||||
|
|
||||||
|
# Add Java to environment file that SSH will read
|
||||||
|
RUN echo 'PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' >> /etc/environment
|
Reference in New Issue
Block a user