From 661fce3f16df34879784556dbea5a1d9989ffed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?JB=20Onofr=C3=A9?= Date: Mon, 1 Apr 2024 13:48:58 +0200 Subject: [PATCH] AMQ-9460: Fix authentication on Docker images --- assembly/src/docker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assembly/src/docker/Dockerfile b/assembly/src/docker/Dockerfile index 819b64c111..e5092d1a9a 100644 --- a/assembly/src/docker/Dockerfile +++ b/assembly/src/docker/Dockerfile @@ -21,10 +21,12 @@ FROM eclipse-temurin:17-jre # ActiveMQ environment variables ENV ACTIVEMQ_INSTALL_PATH /opt ENV ACTIVEMQ_HOME $ACTIVEMQ_INSTALL_PATH/apache-activemq +ENV ACTIVEMQ_CONF $ACTIVEMQ_HOME/conf +ENV ACTIVEMQ_OPTS_MEMORY -Xms64M -Xmx1G ENV ACTIVEMQ_EXEC exec ENV PATH $PATH:$ACTIVEMQ_HOME/bin # Make the Web console accesible from outside the container -ENV ACTIVEMQ_OPTS $ACTIVEMQ_OPTS -Djetty.host=0.0.0.0 +ENV ACTIVEMQ_OPTS $ACTIVEMQ_OPTS_MEMORY -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=$ACTIVEMQ_CONF/login.config -Djetty.host=0.0.0.0 #WORKDIR $ACTIVEMQ_HOME # activemq_dist can point to a directory or a tarball on the local system