fix: 💚 Add Java to path for SSH Sessions ? maybe fix agent
Some checks failed
andreas-personal/jenkins-ssh-docker-agent/pipeline/head There was a failure building this commit

This commit is contained in:
2025-06-06 05:12:04 +02:00
parent 5f367cc3aa
commit 5c7e43445a

View File

@ -14,3 +14,7 @@ RUN apk add --no-cache openssl
#Install git lfs
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