Skip to content

Commit e6625ab

Browse files
committed
Add the env var LAUNCH_JBOSS_IN_BACKGROUND to ensure signals are forwarded to the JVM process correctly for graceful shutdown
1 parent f4a1b37 commit e6625ab

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
FROM ubuntu:focal
77

8-
LABEL name="Silverpeas Build" description="An image to build a Silverpeas project" vendor="Silverpeas" version=6.2 build=2
8+
LABEL name="Silverpeas Build" description="An image to build a Silverpeas project" vendor="Silverpeas" version=6.2 build=3
99
MAINTAINER Miguel Moquillon "miguel.moquillon@silverpeas.org"
1010

1111
ENV TERM=xterm
@@ -95,6 +95,9 @@ ENV LC_ALL ${DEFAULT_LOCALE}
9595
ENV MAVEN_HOME /usr/share/maven
9696
ENV JAVA_HOME /usr/lib/jvm/java-${JAVA_VERSION}-openjdk-amd64
9797

98+
# Ensure signals are forwarded to the JVM process correctly for graceful shutdown
99+
ENV LAUNCH_JBOSS_IN_BACKGROUND true
100+
98101
USER silverbuild
99102

100103
# The GPG and SSL keys to use for respectively signing and then deploying the built artifact to

0 commit comments

Comments
 (0)