Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions alpine/hotspot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ EXPOSE ${http_port}
# will be used by attached agents:
EXPOSE ${agent_port}



Comment thread
lemeurherve marked this conversation as resolved.
Outdated
ENV COPY_REFERENCE_FILE_LOG=$JENKINS_HOME/copy_reference_file.log

ENV JAVA_HOME=/opt/java/openjdk
Expand All @@ -142,7 +144,12 @@ ARG JENKINS_VERSION=2.549

ENTRYPOINT ["/sbin/tini", "--", "/usr/local/bin/jenkins.sh"]


Comment thread
lemeurherve marked this conversation as resolved.
Outdated
# Start period of 5m because Jenkins can be slow to start
HEALTHCHECK --interval=10s --timeout=5s --start-period=5m --retries=3 CMD curl -f http://localhost:8080/health || exit 1

# metadata labels

LABEL \
org.opencontainers.image.vendor="Jenkins project" \
org.opencontainers.image.title="Official Jenkins Docker image" \
Expand Down
6 changes: 6 additions & 0 deletions debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ EXPOSE ${http_port}
# will be used by attached agents:
EXPOSE ${agent_port}



ENV COPY_REFERENCE_FILE_LOG=$JENKINS_HOME/copy_reference_file.log

ENV JAVA_HOME=/opt/java/openjdk
Expand All @@ -155,7 +157,11 @@ ARG JENKINS_VERSION=2.549

ENTRYPOINT ["/usr/bin/tini", "--", "/usr/local/bin/jenkins.sh"]

# Start period of 5m because Jenkins can be slow to start
HEALTHCHECK --interval=10s --timeout=5s --start-period=5m --retries=3 CMD curl -f http://localhost:8080/health || exit 1

# metadata labels

LABEL \
org.opencontainers.image.vendor="Jenkins project" \
org.opencontainers.image.title="Official Jenkins Docker image" \
Expand Down
7 changes: 7 additions & 0 deletions rhel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ EXPOSE ${http_port}
# will be used by attached agents:
EXPOSE ${agent_port}



ENV COPY_REFERENCE_FILE_LOG=$JENKINS_HOME/copy_reference_file.log

ENV JAVA_HOME=/opt/java/openjdk
Expand All @@ -146,7 +148,12 @@ ARG JENKINS_VERSION=2.549

ENTRYPOINT ["/sbin/tini", "--", "/usr/local/bin/jenkins.sh"]


# Start period of 5m because Jenkins can be slow to start
HEALTHCHECK --interval=10s --timeout=5s --start-period=5m --retries=3 CMD curl -f http://localhost:8080/health || exit 1

# metadata labels

LABEL \
org.opencontainers.image.vendor="Jenkins project" \
org.opencontainers.image.title="Official Jenkins Docker image" \
Expand Down