Add ActiveMQ to the Docker Image
[holmes/engine-management.git] / engine-d-standalone / src / main / assembly / Dockerfile
index 3401c9f..d7b7da7 100644 (file)
@@ -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
-
-