fix: 💚 Maybe Fix alpine image
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:
@ -15,6 +15,6 @@ RUN apk add --no-cache openssl
|
||||
RUN apk add --no-cache git-lfs
|
||||
RUN git lfs install --system
|
||||
|
||||
# Add Java to PATH via profile.d for SSH sessions
|
||||
RUN echo 'export PATH="/opt/java/openjdk/bin:$PATH"' > /etc/profile.d/10-java.sh
|
||||
RUN chmod +x /etc/profile.d/10-java.sh
|
||||
# Configure SSH to behave more like Debian - load environment properly
|
||||
RUN echo 'PermitUserEnvironment yes' >> /etc/ssh/sshd_config
|
||||
RUN echo 'UsePAM yes' >> /etc/ssh/sshd_config
|
Reference in New Issue
Block a user