added jsch.jar for ant 'scp' task support
This commit is contained in:
parent
40f8628d94
commit
8e7dc81b83
@ -7,6 +7,9 @@ RUN apt-get update
|
|||||||
RUN apt-get -y install openjdk-17-jdk subversion maven ant
|
RUN apt-get -y install openjdk-17-jdk subversion maven ant
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
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
|
USER jenkins
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--", "/usr/local/bin/jenkins.sh"]
|
ENTRYPOINT ["/usr/bin/tini", "--", "/usr/local/bin/jenkins.sh"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user