This repository was archived by the owner on Oct 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ USER ${user}
7070
7171COPY jenkins-support /usr/local/bin/jenkins-support
7272COPY jenkins.sh /usr/local/bin/jenkins.sh
73+ COPY tini-shim.sh /bin/tini
7374ENTRYPOINT ["/sbin/tini" , "--" , "/usr/local/bin/jenkins.sh" ]
7475
7576# from a derived Dockerfile, can use `RUN plugins.sh active.txt` to setup /usr/share/jenkins/ref/plugins from a support bundle
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ USER ${user}
7070
7171COPY jenkins-support /usr/local/bin/jenkins-support
7272COPY jenkins.sh /usr/local/bin/jenkins.sh
73+ COPY tini-shim.sh /bin/tini
7374ENTRYPOINT ["/sbin/tini", "--", "/usr/local/bin/jenkins.sh"]
7475
7576# from a derived Dockerfile, can use `RUN plugins.sh active.txt` to setup /usr/share/jenkins/ref/plugins from a support bundle
Original file line number Diff line number Diff line change 22set -euo pipefail
33
44cat << EOF
5- Please update your scripts to use /sbin/tini going forward.
6- Previous path has been preserved for backwards compatibility in Alpine 3.4,
7- but WILL BE REMOVED in Alpine 3.5. (or Jenkins 2.107.1 or something like this for our case)
5+ ***************************************************************************
6+ * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING *
7+ ***************************************************************************
8+ Please update your scripts to use /sbin/tini or simply tini going forward.
9+ Previous path has been preserved for backwards compatibility,
10+ but WILL BE REMOVED in the future. (around Jenkins >= 2.107.2+)
811
912Now sleeping 2 minutes...
1013EOF
You can’t perform that action at this time.
0 commit comments