Some checks failed
andreas-personal/jenkins-ssh-docker-agent/pipeline/head There was a failure building this commit
20 lines
480 B
Docker
20 lines
480 B
Docker
FROM jenkins/ssh-agent:alpine-jdk21
|
|
|
|
RUN addgroup --gid 281 docker
|
|
RUN addgroup jenkins docker
|
|
|
|
RUN apk add --no-cache docker docker-compose
|
|
|
|
# Install tea
|
|
RUN apk add --no-cache tea
|
|
|
|
#Install OpenSSL
|
|
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 |