Files
jenkins-ssh-docker-agent/alpine/Dockerfile
Andreas Fahrecker 16f4ca20a1
All checks were successful
andreas-personal/jenkins-ssh-docker-agent/pipeline/head This commit looks good
fix: 💚 Maybe Fix alpine image
2025-06-06 05:27:43 +02:00

20 lines
488 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
# 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