Code Review
/
holmes
/
engine-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixed the start-up failure of the engine module
[holmes/engine-management.git]
/
engine-d-standalone
/
src
/
main
/
assembly
/
Dockerfile
diff --git
a/engine-d-standalone/src/main/assembly/Dockerfile
b/engine-d-standalone/src/main/assembly/Dockerfile
index
8c4615f
..
082cec0
100644
(file)
--- a/
engine-d-standalone/src/main/assembly/Dockerfile
+++ b/
engine-d-standalone/src/main/assembly/Dockerfile
@@
-16,6
+16,8
@@
ENV PATH $PATH:/usr/lib/jvm/java-8-openjdk-amd64/jre/bin:/usr/lib/jvm/java-8-ope
ENV CLASSPATH .:${JAVA_HOME}/lib:${JRE_HOME}/lib
ENV JRE_HOME ${JAVA_HOME}/jre
ENV CLASSPATH .:${JAVA_HOME}/lib:${JRE_HOME}/lib
ENV JRE_HOME ${JAVA_HOME}/jre
+ENV HOSTNAME holmes-engine-mgmt
+
#install ActiveMQ
RUN mkdir /home/downloads
RUN mkdir /home/activemq
#install ActiveMQ
RUN mkdir /home/downloads
RUN mkdir /home/activemq
@@
-24,6
+26,9
@@
RUN wget http://archive.apache.org/dist/activemq/apache-activemq/5.9.0/apache-ac
RUN tar -xzvf apache-activemq-5.9.0-bin.tar.gz -C /home/activemq/
RUN rm -rf /home/downloads
RUN tar -xzvf apache-activemq-5.9.0-bin.tar.gz -C /home/activemq/
RUN rm -rf /home/downloads
+#install the postgres client
+RUN apt-get install -y postgresql-client-9.5 postgresql-contrib-9.5
+
#add holmes related resources to the docker image
RUN mkdir /home/holmes
WORKDIR /home/holmes
#add holmes related resources to the docker image
RUN mkdir /home/holmes
WORKDIR /home/holmes