jenkins-agent/Dockerfile
2024-10-16 12:13:48 +00:00

16 lines
446 B
Docker

FROM jenkins/inbound-agent:3261.v9c670a_4748a_9-8
LABEL authors="v.citiriga@siatel.ro"
USER root
RUN apt-get update
RUN apt-get -y install wget subversion maven ant
RUN rm -rf /var/lib/apt/lists/*
RUN cd /tmp && wget --no-check-certificate --no-cookies https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.55/jsch-0.1.55.jar \
&& mv jsch-0.1.55.jar /opt/ant/lib
USER jenkins
ENTRYPOINT ["/usr/bin/tini", "--", "/usr/local/bin/jenkins.sh"]