jenkins fixes

This commit is contained in:
Juan Ferrer 2022-10-14 19:07:10 +02:00
parent 856a36d02d
commit 3cb0a46788
1 changed files with 7 additions and 0 deletions

View File

@ -28,4 +28,11 @@ RUN cd /opt \
&& tar xvjf firefox-64.0.2.tar.bz2 \
&& rm firefox-64.0.2.tar.bz2
# Fix defunct processeses: https://github.com/jenkinsci/docker-inbound-agent/issues/51
ENV TINI_VERSION v0.19.0
RUN wget -O /tini https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini \
&& chmod 755 /tini
USER jenkins
ENTRYPOINT ["/tini", "--", "/usr/local/bin/jenkins-agent"]