Skip to content

Add version 7.9.0 of Bonita #6097

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2019

Conversation

JeremJR
Copy link
Contributor

@JeremJR JeremJR commented Jun 17, 2019

  • changes in 7.9.0
    • use ubuntu:18.04 to follow OS supported
      • with this new image we encountered the gpg error gpg: keyserver receive failed: Cannot assign requested address. We found that this subject is discussed into the faq.
        As in our case the behavior seems different with this new base image and not due to random host down in the pool requested we decided to had ipv4 pool as fallback like it was done into Sonarqube official container (kudos to @tomverin). This simple solution solved our issue.
    • switch to Java 11. This point is described into the documentation PR related
    • bonita logs are now redirected to standard output and accessible through docker logs. The documentation is updated accordingly.

@yosifkit
Copy link
Member

Diff:
diff --git a/_bashbrew-arches b/_bashbrew-arches
index d3e7cec..d439fec 100644
--- a/_bashbrew-arches
+++ b/_bashbrew-arches
@@ -1,6 +1,6 @@
-bonita:7.7 @ amd64
-bonita:7.7 @ arm64v8
-bonita:7.7 @ ppc64le
+bonita:7.8 @ amd64
+bonita:7.8 @ arm64v8
+bonita:7.8 @ ppc64le
 bonita:latest @ amd64
 bonita:latest @ arm64v8
 bonita:latest @ ppc64le
diff --git a/_bashbrew-list b/_bashbrew-list
index 1b7e35e..e1f4937 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -1,5 +1,5 @@
-bonita:7.7
-bonita:7.7.5
 bonita:7.8
 bonita:7.8.4
+bonita:7.9
+bonita:7.9.0
 bonita:latest
diff --git a/bonita_7.7/Dockerfile b/bonita_7.7/Dockerfile
deleted file mode 100644
index c1ac26f..0000000
diff --git a/bonita_7.7/files/WEB-INF/web.xml b/bonita_7.7/files/WEB-INF/web.xml
deleted file mode 100644
index 1ae24cb..0000000
diff --git a/bonita_7.7/templates/setenv.sh b/bonita_7.7/templates/setenv.sh
deleted file mode 100755
index 8076742..0000000
diff --git a/bonita_latest/Dockerfile b/bonita_7.8/Dockerfile
similarity index 100%
copy from bonita_latest/Dockerfile
copy to bonita_7.8/Dockerfile
diff --git a/bonita_latest/files/WEB-INF/web.xml b/bonita_7.8/files/WEB-INF/web.xml
similarity index 100%
copy from bonita_latest/files/WEB-INF/web.xml
copy to bonita_7.8/files/WEB-INF/web.xml
diff --git a/bonita_7.7/files/config.sh b/bonita_7.8/files/config.sh
similarity index 100%
rename from bonita_7.7/files/config.sh
rename to bonita_7.8/files/config.sh
diff --git a/bonita_7.7/files/functions.sh b/bonita_7.8/files/functions.sh
similarity index 100%
rename from bonita_7.7/files/functions.sh
rename to bonita_7.8/files/functions.sh
diff --git a/bonita_7.7/files/startup.sh b/bonita_7.8/files/startup.sh
similarity index 100%
rename from bonita_7.7/files/startup.sh
rename to bonita_7.8/files/startup.sh
diff --git a/bonita_7.7/templates/database.properties b/bonita_7.8/templates/database.properties
similarity index 100%
rename from bonita_7.7/templates/database.properties
rename to bonita_7.8/templates/database.properties
diff --git a/bonita_latest/templates/setenv.sh b/bonita_7.8/templates/setenv.sh
similarity index 100%
copy from bonita_latest/templates/setenv.sh
copy to bonita_7.8/templates/setenv.sh
diff --git a/bonita_latest/Dockerfile b/bonita_latest/Dockerfile
index fefc119..c958f3a 100644
--- a/bonita_latest/Dockerfile
+++ b/bonita_latest/Dockerfile
@@ -1,14 +1,15 @@
-FROM ubuntu:16.04
+FROM ubuntu:18.04
 
 MAINTAINER Jérémy Jacquier-Roux <[email protected]>
 
 # install packages
 RUN apt-get update && apt-get install -y \
+  curl \
+  gnupg2 \
   mysql-client-core-5.7 \
-  openjdk-8-jre-headless \
+  openjdk-11-jre-headless \
   postgresql-client \
   unzip \
-  curl \
   zip \
   && rm -rf /var/lib/apt/lists/*
 
@@ -19,8 +20,9 @@ RUN groupadd -r bonita -g 1000 \
   && useradd -u 1000 -r -g bonita -d /opt/bonita/ -s /sbin/nologin -c "Bonita User" bonita
 
 # grab gosu
-RUN gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
-RUN curl -fsSL "https://github.com/tianon/gosu/releases/download/1.10/gosu-$(dpkg --print-architecture)" -o /usr/local/bin/gosu \
+RUN (gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
+  || gpg --keyserver ipv4.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4) \
+  && curl -fsSL "https://github.com/tianon/gosu/releases/download/1.10/gosu-$(dpkg --print-architecture)" -o /usr/local/bin/gosu \
   && curl -fsSL "https://github.com/tianon/gosu/releases/download/1.10/gosu-$(dpkg --print-architecture).asc" -o /usr/local/bin/gosu.asc \
   && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu \
   && rm /usr/local/bin/gosu.asc \
@@ -28,24 +30,22 @@ RUN curl -fsSL "https://github.com/tianon/gosu/releases/download/1.10/gosu-$(dpk
 
 # use --build-arg key=value in docker build command to override arguments
 ARG BONITA_VERSION
-ARG TOMCAT_VERSION
 ARG BONITA_SHA256
 ARG BONITA_URL
 
-ENV BONITA_VERSION ${BONITA_VERSION:-7.8.4}
-ENV TOMCAT_VERSION ${TOMCAT_VERSION:-8.5.34}
-ENV BONITA_SHA256  ${BONITA_SHA256:-f7a838c7ae4a6c3e1945b1fb9739ebc0fd75b208309409e1fc5cd582f63f8d62}
-ENV BONITA_URL ${BONITA_URL:-https://release.ow2.org/bonita/BonitaCommunity-${BONITA_VERSION}-Tomcat-${TOMCAT_VERSION}.zip}
+ENV BONITA_VERSION ${BONITA_VERSION:-7.9.0}
+ENV BONITA_SHA256  ${BONITA_SHA256:-1e2ca16722af086715841b747c738df383018dd29ceaeb5e230e1ee2b33446ee}
+ENV BONITA_URL ${BONITA_URL:-https://release.ow2.org/bonita/BonitaCommunity-${BONITA_VERSION}-tomcat.zip}
 
 # add Bonita archive to the container
 RUN mkdir /opt/files \
-  && curl -fsSL ${BONITA_URL} -o /opt/files/BonitaCommunity-${BONITA_VERSION}-Tomcat-${TOMCAT_VERSION}.zip
+  && curl -fsSL ${BONITA_URL} -o /opt/files/BonitaCommunity-${BONITA_VERSION}-tomcat.zip
 
 # display downloaded checksum
-RUN sha256sum /opt/files/BonitaCommunity-${BONITA_VERSION}-Tomcat-${TOMCAT_VERSION}.zip
+RUN sha256sum /opt/files/BonitaCommunity-${BONITA_VERSION}-tomcat.zip
 
 # check with expected checksum
-RUN echo "$BONITA_SHA256" /opt/files/BonitaCommunity-${BONITA_VERSION}-Tomcat-${TOMCAT_VERSION}.zip | sha256sum -c -
+RUN echo "$BONITA_SHA256" /opt/files/BonitaCommunity-${BONITA_VERSION}-tomcat.zip | sha256sum -c -
 
 # create Volume to store Bonita files
 VOLUME /opt/bonita
diff --git a/bonita_latest/files/WEB-INF/web.xml b/bonita_latest/files/WEB-INF/web.xml
index 9b1adb7..aebf778 100644
--- a/bonita_latest/files/WEB-INF/web.xml
+++ b/bonita_latest/files/WEB-INF/web.xml
@@ -409,6 +409,8 @@
     <servlet-mapping>
         <servlet-name>exportOrganizationServlet</servlet-name>
         <url-pattern>/portal/exportOrganization</url-pattern>
+        <url-pattern>/portal/custom-page/API/exportOrganization</url-pattern>
+        <url-pattern>/API/exportOrganization</url-pattern>
     </servlet-mapping>
     <servlet-mapping>
         <servlet-name>exportApplicationsServlet</servlet-name>
@@ -604,6 +606,8 @@
     <servlet-mapping>
         <servlet-name>ConsoleServiceServlet</servlet-name>
         <url-pattern>/services/*</url-pattern>
+        <url-pattern>/API/services/*</url-pattern>
+        <url-pattern>/portal/custom-page/API/services/*</url-pattern>
     </servlet-mapping>
     <servlet-mapping>
         <servlet-name>org.bonitasoft.forms.server.FormsServletconsole/formsservice</servlet-name>
diff --git a/bonita_latest/files/config.sh b/bonita_latest/files/config.sh
index fd70765..a62a077 100755
--- a/bonita_latest/files/config.sh
+++ b/bonita_latest/files/config.sh
@@ -63,9 +63,9 @@ PLATFORM_PASSWORD=${PLATFORM_PASSWORD:-platform}
 TENANT_LOGIN=${TENANT_LOGIN:-install}
 TENANT_PASSWORD=${TENANT_PASSWORD:-install}
 
-if [ ! -d ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-Tomcat-${TOMCAT_VERSION} ]
+if [ ! -d ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-tomcat ]
 then
-        unzip -q ${BONITA_FILES}/BonitaCommunity-${BONITA_VERSION}-Tomcat-${TOMCAT_VERSION}.zip -d ${BONITA_PATH}
+        unzip -q ${BONITA_FILES}/BonitaCommunity-${BONITA_VERSION}-tomcat.zip -d ${BONITA_PATH}
 fi
 
 if [ "${ENSURE_DB_CHECK_AND_CREATION}" = 'true' ]
@@ -101,23 +101,23 @@ fi
 
 # apply conf
 # copy templates
-cp ${BONITA_TPL}/setenv.sh ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-Tomcat-${TOMCAT_VERSION}/setup/tomcat-templates/setenv.sh
-cp ${BONITA_TPL}/database.properties ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-Tomcat-${TOMCAT_VERSION}/setup/database.properties
+cp ${BONITA_TPL}/setenv.sh ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-tomcat/setup/tomcat-templates/setenv.sh
+cp ${BONITA_TPL}/database.properties ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-tomcat/setup/database.properties
 
 # if required, uncomment dynamic checks on REST API
 if [ "$REST_API_DYN_AUTH_CHECKS" = 'true' ]
 then
-    sed -i -e 's/^#GET|/GET|/' -e 's/^#POST|/POST|/' -e 's/^#PUT|/PUT|/' -e 's/^#DELETE|/DELETE|/' ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-Tomcat-${TOMCAT_VERSION}/setup/platform_conf/initial/tenant_template_portal/dynamic-permissions-checks-custom.properties
+    sed -i -e 's/^#GET|/GET|/' -e 's/^#POST|/POST|/' -e 's/^#PUT|/PUT|/' -e 's/^#DELETE|/DELETE|/' ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-tomcat/setup/platform_conf/initial/tenant_template_portal/dynamic-permissions-checks-custom.properties
 fi
 # if required, deactivate HTTP API by updating bonita.war with proper web.xml
 if [ "$HTTP_API" = 'false' ]
 then
     cd ${BONITA_FILES}/
-    zip ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-Tomcat-${TOMCAT_VERSION}/server/webapps/bonita.war WEB-INF/web.xml
+    zip ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-tomcat/server/webapps/bonita.war WEB-INF/web.xml
 fi
 
 # replace variables
-find ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-Tomcat-${TOMCAT_VERSION}/setup/platform_conf/initial -name "*.properties" | xargs -n10 sed -i \
+find ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-tomcat/setup/platform_conf/initial -name "*.properties" | xargs -n10 sed -i \
     -e 's/^#userName\s*=.*/'"userName=${TENANT_LOGIN}"'/' \
     -e 's/^#userPassword\s*=.*/'"userPassword=${TENANT_PASSWORD}"'/' \
     -e 's/^platform.tenant.default.username\s*=.*/'"platform.tenant.default.username=${TENANT_LOGIN}"'/' \
@@ -125,15 +125,15 @@ find ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-Tomcat-${TOMCAT_VERSION}/s
     -e 's/^#platformAdminUsername\s*=.*/'"platformAdminUsername=${PLATFORM_LOGIN}"'/' \
     -e 's/^#platformAdminPassword\s*=.*/'"platformAdminPassword=${PLATFORM_PASSWORD}"'/'
 
-sed -i -e 's/{{JAVA_OPTS}}/'"${JAVA_OPTS}"'/' ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-Tomcat-${TOMCAT_VERSION}/setup/tomcat-templates/setenv.sh
+sed -i -e 's/{{JAVA_OPTS}}/'"${JAVA_OPTS}"'/' ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-tomcat/setup/tomcat-templates/setenv.sh
 
 if [ -n "$JDBC_DRIVER" ]
 then
     # if $JDBC_DRIVER is set and the driver is not present, copy the JDBC driver into the Bundle
     file=$(basename $JDBC_DRIVER)
-    if [ ! -e ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-Tomcat-${TOMCAT_VERSION}/setup/lib/$file ]
+    if [ ! -e ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-tomcat/setup/lib/$file ]
     then
-        cp ${BONITA_FILES}/${JDBC_DRIVER} ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-Tomcat-${TOMCAT_VERSION}/setup/lib/
+        cp ${BONITA_FILES}/${JDBC_DRIVER} ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-tomcat/setup/lib/
     fi
 fi
 
@@ -146,9 +146,14 @@ sed -e 's/{{DB_VENDOR}}/'"${DB_VENDOR}"'/' \
     -e 's/{{BIZ_DB_USER}}/'"${BIZ_DB_USER}"'/' \
     -e 's/{{BIZ_DB_PASS}}/'"${BIZ_DB_PASS}"'/' \
     -e 's/{{BIZ_DB_NAME}}/'"${BIZ_DB_NAME}"'/' \
-    -i ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-Tomcat-${TOMCAT_VERSION}/setup/database.properties
+    -i ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-tomcat/setup/database.properties
 
-# use the setup tool to initialize and configure Bonita BPM Tomcat bundle
-cd /opt/bonita/BonitaCommunity-${BONITA_VERSION}-Tomcat-${TOMCAT_VERSION}
-echo y | ./setup/setup.sh init
-./setup/setup.sh configure
+# apply logging configuration
+cp ${BONITA_FILES}/logging.properties ${BONITA_PATH}/BonitaCommunity-${BONITA_VERSION}-tomcat/server/conf/logging.properties
+
+# use the setup tool to initialize and configure Bonita Tomcat bundle
+cd /opt/bonita/BonitaCommunity-${BONITA_VERSION}-tomcat
+# platform setup tool logging configuration file
+BONITA_SETUP_LOGGING_FILE=${BONITA_SETUP_LOGGING_FILE:-/opt/bonita/BonitaCommunity-${BONITA_VERSION}-tomcat/setup/logback.xml}
+echo y | ./setup/setup.sh init -Dlogging.config=${BONITA_SETUP_LOGGING_FILE}
+./setup/setup.sh configure -Dlogging.config=${BONITA_SETUP_LOGGING_FILE}
diff --git a/bonita_latest/files/logging.properties b/bonita_latest/files/logging.properties
new file mode 100644
index 0000000..7d4d43f
--- /dev/null
+++ b/bonita_latest/files/logging.properties
@@ -0,0 +1,73 @@
+handlers = java.util.logging.ConsoleHandler
+
+.handlers = java.util.logging.ConsoleHandler
+# The default logging level when not specifically defined
+.level= INFO
+
+# The minimum level to log
+java.util.logging.ConsoleHandler.level = INFO
+java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
+
+# Allow logging to trace the actual logger producer class:
+java.util.logging.SimpleFormatter.format=%1$tF %1$tT.%1$tL %1$tz %4$s: %3$s %5$s%6$s%n
+# Use the following format to remove timestamp:
+#java.util.logging.SimpleFormatter.format=%4$s: %3$s %5$s%6$s%n
+
+# By default for development it's a good idea to set the default level for all Bonita component to INFO.
+# In production WARNING is a good choice.
+org.bonitasoft.level = WARNING
+
+com.arjuna.level = INFO
+org.jboss.narayana.tomcat.jta.level = FINE
+
+# At platform initial setup, activate FINE messages on what is happening:
+org.bonitasoft.platform.level = INFO
+
+org.bonitasoft.engine.EngineInitializer.level = INFO
+
+# If you want to have more log on connectors execution only, you can activate and modify the following lines
+#org.bonitasoft.engine.core.connector.level = FINE
+#org.bonitasoft.engine.connector.level = FINE
+
+# If you want to have more log on expressions only, you can activate and modify the following lines
+#org.bonitasoft.engine.expression.level = FINE
+#org.bonitasoft.engine.data.instance.api.DataExpressionExecutorStrategy.level = FINE
+
+# If you want to have more log on input/output of API calls, you can activate and modify the following line
+#org.bonitasoft.engine.api.level = FINEST
+
+# If you want to have more log on Asynchronous executions (Work/Job), you can activate and modify the following lines
+#org.bonitasoft.engine.work.level = FINE
+#org.bonitasoft.engine.execution.work.level = FINE
+#org.bonitasoft.engine.job.level = FINE
+#org.bonitasoft.engine.jobs.level = FINE
+#org.bonitasoft.engine.scheduler.level = FINE
+# Specific logger for auditing work execution
+BONITA_WORK_AUDIT.EXECUTION.level = INFO 
+
+# If you want to deactivate warnings on wrong handling of transient data
+#org.bonitasoft.engine.operation.TransientDataLeftOperandHandler.level = SEVERE
+#org.bonitasoft.engine.expression.ReevaluatingTransientDataExpressionExecutorStrategy.level = SEVERE
+
+# Show stack traces of exceptions when a work fails
+org.bonitasoft.engine.execution.work.FailureHandlingBonitaWork.level = FINE
+
+# Hibernate is used by Bonita and very verbose in the log. Should stay with WARNING level except when debugging database access issues
+org.hibernate.level = WARNING
+# Remove wrong warnings about ehcache:
+org.hibernate.cache.ehcache.AbstractEhcacheRegionFactory.level = SEVERE
+
+# Ehcache is used by Bonita and very verbose in the log.  Should stay with WARNING level except when debugging cache issues
+net.sf.ehcache.level = WARNING
+
+# Deactivate annoying false warning:
+org.hibernate.type.TypeFactory.level = SEVERE
+
+org.springframework.level = WARNING
+org.bonitasoft.engine.service.impl.BonitaSpringContext.level = WARNING
+
+# tuckey
+org.tuckey.level = WARNING
+
+# If you want to have more log on rest api extension provided logger, you can activate and modify the following lines
+#org.bonitasoft.api.extension.level = FINE
diff --git a/bonita_latest/files/startup.sh b/bonita_latest/files/startup.sh
index 9ef0411..6c41660 100755
--- a/bonita_latest/files/startup.sh
+++ b/bonita_latest/files/startup.sh
@@ -18,4 +18,5 @@ then
 	done
 fi
 # launch tomcat
-exec gosu bonita /opt/bonita/BonitaCommunity-${BONITA_VERSION}-Tomcat-${TOMCAT_VERSION}/server/bin/catalina.sh run
+export LOGGING_CONFIG="-Djava.util.logging.config.file=${BONITA_SERVER_LOGGING_FILE:-/opt/bonita/BonitaCommunity-${BONITA_VERSION}-tomcat/server/conf/logging.properties}"
+exec gosu bonita /opt/bonita/BonitaCommunity-${BONITA_VERSION}-tomcat/server/bin/catalina.sh run
diff --git a/bonita_latest/templates/setenv.sh b/bonita_latest/templates/setenv.sh
index 003c7d2..b7e8066 100755
--- a/bonita_latest/templates/setenv.sh
+++ b/bonita_latest/templates/setenv.sh
@@ -3,7 +3,6 @@
 # Set some JVM system properties required by Bonita
 
 PLATFORM_SETUP="-Dorg.bonitasoft.platform.setup.folder=${CATALINA_HOME}/../setup"
-#When changing org.bonitasoft.h2.database.dir location, update ${CATALINA_HOME}/conf/bitronix-resources.properties datasources accordingly.
 H2_DATABASE_DIR="-Dorg.bonitasoft.h2.database.dir=${CATALINA_HOME}/../h2_database"
 INCIDENT_LOG_DIR="-Dorg.bonitasoft.engine.incident.folder=${CATALINA_HOME}/logs"
 
@@ -14,14 +13,14 @@ DB_OPTS="-Dsysprop.bonita.db.vendor=h2"
 # If you use different DB engines by tenants, please update directly bonita-tenant-community-custom.properties
 BDM_DB_OPTS="-Dsysprop.bonita.bdm.db.vendor=h2"
 
-# Bitronix (JTA service added to Tomcat and required by Bonita Engine for transaction management)
-BTM_OPTS="-Dbtm.root=${CATALINA_HOME} -Dbitronix.tm.configuration=${CATALINA_HOME}/conf/bitronix-config.properties"
+# Arjuna (JTA service added to Tomcat and required by Bonita Engine for transaction management)
+ARJUNA_OPTS="-Dcom.arjuna.ats.arjuna.common.propertiesFile=${CATALINA_HOME}/conf/jbossts-properties.xml"
 
 # Optional JAAS configuration. Usually used when delegating authentication to LDAP / Active Directory server
 #SECURITY_OPTS="-Djava.security.auth.login.config=${CATALINA_HOME}/conf/jaas-standard.cfg"
 
 # Pass the JVM system properties to Tomcat JVM using CATALINA_OPTS variable
-CATALINA_OPTS="${CATALINA_OPTS} ${PLATFORM_SETUP} ${H2_DATABASE_DIR} ${DB_OPTS} ${BDM_DB_OPTS} ${BTM_OPTS} ${INCIDENT_LOG_DIR} -Dfile.encoding=UTF-8 -Xshare:auto -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=${CATALINA_HOME}/logs -Djava.security.egd=file:/dev/./urandom"
+CATALINA_OPTS="${CATALINA_OPTS} ${PLATFORM_SETUP} ${H2_DATABASE_DIR} ${DB_OPTS} ${BDM_DB_OPTS} ${ARJUNA_OPTS} ${INCIDENT_LOG_DIR} -Dfile.encoding=UTF-8 -Xshare:auto -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=${CATALINA_HOME}/logs -Djava.security.egd=file:/dev/./urandom"
 export CATALINA_OPTS
 
 # Only set CATALINA_PID if not already set (check for empty value) by startup script (usually done by /etc/init.d/tomcat8 but not by startup.sh nor catalina.sh)

@yosifkit
Copy link
Member

Build test of #6097; a7236e1; amd64 (bonita):

$ bashbrew build bonita:7.8.4
Using bashbrew/cache:58bf9fdc21825db79b381d12fcdae1cd518c6a9514d284a6fa880844fd003581 (bonita:7.8.4)
Tagging bonita:7.8.4
Tagging bonita:7.8

$ test/run.sh bonita:7.8.4
testing bonita:7.8.4
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build bonita:7.9.0
Building bashbrew/cache:f6063b53f573ffebf5738d48288e6c3adbd7d8dd6a680e73140381d78faa9167 (bonita:7.9.0)
Tagging bonita:7.9.0
Tagging bonita:7.9
Tagging bonita:latest

$ test/run.sh bonita:7.9.0
testing bonita:7.9.0
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed

@yosifkit yosifkit requested a review from tianon June 17, 2019 21:54
@tianon tianon merged commit dd95070 into docker-library:master Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants