summaryrefslogtreecommitdiffstats
path: root/rulemgt-standalone
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-09-07 11:13:15 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2017-09-07 11:13:15 +0800
commit3df70b98476e280708a52569acb9be4d24259678 (patch)
tree67e792fb9da23e3e869f92eb994bfd633d69832c /rulemgt-standalone
parent99db451cbc9ddabc1085e4734ce3ea8ed0d83b61 (diff)
Add HOSTNAME to the Dockerfile
Change-Id: I6782505970fc5750cf7801e3fe057332fd1c8cf2 Issue-ID: HOLMES-45 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt-standalone')
-rw-r--r--rulemgt-standalone/src/main/assembly/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/rulemgt-standalone/src/main/assembly/Dockerfile b/rulemgt-standalone/src/main/assembly/Dockerfile
index f7a78be..457f4ab 100644
--- a/rulemgt-standalone/src/main/assembly/Dockerfile
+++ b/rulemgt-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 HOSTNAME holmes-rule-mgmt
+
#add holmes related resources to the docker image
RUN mkdir /home/holmes
WORKDIR /home/holmes