jenkins-agent/Dockerfile

16 lines
456 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 openjdk-17-jdk 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"]