Add ActiveMQ related configurations
Change-Id: I01363eb2dcbd29f095c88dd2f6f100aa33b0d1cf
Issue-ID: HOLMES-43
Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
openjdk8="$JAVA_ALPINE_VERSION" \
&& [ "$JAVA_HOME" = "$(docker-java-home)" ]
openjdk8="$JAVA_ALPINE_VERSION" \
&& [ "$JAVA_HOME" = "$(docker-java-home)" ]
-#add holmes related resources to the docker image
+#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
ADD holmes-engine-d-standalone-*-linux64.tar.gz /home/holmes/
RUN chmod 755 /home/holmes/bin/*.sh
ADD holmes-engine-d-standalone-*-linux64.tar.gz /home/holmes/
RUN chmod 755 /home/holmes/bin/*.sh
ENTRYPOINT /home/holmes/bin/run.sh
ENTRYPOINT /home/holmes/bin/run.sh