All checks were successful
andreas-personal/jenkins-ssh-docker-agent/pipeline/head This commit looks good
25 lines
742 B
Docker
25 lines
742 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
|
|
|
|
|
|
# TODO: doesnt work still, something about not finding the java binary over ssh
|
|
# 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
|
|
|
|
# Add Java to environment file that SSH will read
|
|
#RUN echo 'PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' >> /etc/environment |