diff options
author | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-09-07 11:14:41 +0800 |
---|---|---|
committer | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-09-07 11:14:41 +0800 |
commit | 5942e9b458f7af8ebf04c7d809af0890743d9754 (patch) | |
tree | 2252f36073baf94f61ced52afccd5709fb4b1794 /dmaap-dsa-standalone/src/main/assembly | |
parent | 92891e062200f4b935a23faa82cfafd963b01772 (diff) |
Add HOSTNAME to the Dockerfile
Change-Id: If36172b197ce35c8e54636487de1b318541c449e
Issue-ID: HOLMES-45
Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'dmaap-dsa-standalone/src/main/assembly')
-rw-r--r-- | dmaap-dsa-standalone/src/main/assembly/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dmaap-dsa-standalone/src/main/assembly/Dockerfile b/dmaap-dsa-standalone/src/main/assembly/Dockerfile index e49d027..3e3c034 100644 --- a/dmaap-dsa-standalone/src/main/assembly/Dockerfile +++ b/dmaap-dsa-standalone/src/main/assembly/Dockerfile @@ -21,6 +21,8 @@ ENV PATH $PATH:/usr/lib/jvm/java-1.8-openjdk/jre/bin:/usr/lib/jvm/java-1.8-openj ENV JAVA_VERSION 8u131 ENV JAVA_ALPINE_VERSION 8.131.11-r2 +ENV HOSTNAME holmes-dsa + RUN set -x \ && apk add --no-cache \ openjdk8="$JAVA_ALPINE_VERSION" \ |