summaryrefslogtreecommitdiffstats
path: root/engine-d-standalone/src
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-09-02 23:54:02 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2017-09-02 23:54:02 +0800
commitc25c4cb80a30838bea3cac54755a47495370bf24 (patch)
tree99804f25df6132161ea2f1e52e664e8374e1ff4e /engine-d-standalone/src
parent33dbc2cc1d7f74c8b9bfa82878e60ef9bd7b890c (diff)
Add ActiveMQ to the Docker Image
Add ActiveMQ related configurations Change-Id: I01363eb2dcbd29f095c88dd2f6f100aa33b0d1cf Issue-ID: HOLMES-43 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'engine-d-standalone/src')
-rw-r--r--engine-d-standalone/src/main/assembly/Dockerfile17
1 files 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
-
-