From c25c4cb80a30838bea3cac54755a47495370bf24 Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Sat, 2 Sep 2017 23:54:02 +0800 Subject: [PATCH] Add ActiveMQ to the Docker Image Add ActiveMQ related configurations Change-Id: I01363eb2dcbd29f095c88dd2f6f100aa33b0d1cf Issue-ID: HOLMES-43 Signed-off-by: Guangrong Fu --- engine-d-standalone/src/main/assembly/Dockerfile | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/engine-d-standalone/src/main/assembly/Dockerfile b/engine-d-standalone/src/main/assembly/Dockerfile index 3401c9f..d7b7da7 100644 --- a/engine-d-standalone/src/main/assembly/Dockerfile +++ b/engine-d-standalone/src/main/assembly/Dockerfile @@ -26,17 +26,22 @@ RUN set -x \ openjdk8="$JAVA_ALPINE_VERSION" \ && [ "$JAVA_HOME" = "$(docker-java-home)" ] -#add holmes related resources to the docker image -RUN mkdir /home/holmes +#add activemq to the docker image +RUN mkdir /home/downloads +RUN mkdir /home/activemq +RUN cd /home/downloads +RUN apt-get update +RUN apt-get install -y wget +RUN wget http://archive.apache.org/dist/activemq/apache-activemq/5.9.0/apache-activemq-5.9.0-bin.tar.gz +RUN tar -xzvf apache-activemq-5.9.0-bin.tar.gz -C /home/activemq/ +RUN rm -rf /home/downloads +#add holmes related resources to the docker image +RUN mkdir /home/holmes WORKDIR /home/holmes - ADD holmes-engine-d-standalone-*-linux64.tar.gz /home/holmes/ RUN chmod 755 /home/holmes/bin/*.sh - ENTRYPOINT /home/holmes/bin/run.sh - - -- 2.16.6