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
Some checks failed
andreas-personal/jenkins-ssh-docker-agent/pipeline/head There was a failure building this commit
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user