Code Review
/
holmes
/
dsa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add HOSTNAME to the Dockerfile
[holmes/dsa.git]
/
dmaap-dsa-standalone
/
src
/
main
/
assembly
/
Dockerfile
diff --git
a/dmaap-dsa-standalone/src/main/assembly/Dockerfile
b/dmaap-dsa-standalone/src/main/assembly/Dockerfile
index
77b1795
..
3e3c034
100644
(file)
--- 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 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" \
RUN set -x \
&& apk add --no-cache \
openjdk8="$JAVA_ALPINE_VERSION" \
@@
-32,7
+34,7
@@
RUN mkdir /home/holmes
WORKDIR /home/holmes
WORKDIR /home/holmes
-ADD holmes-dsa-standalone-*-linux64.tar.gz /home/holmes/
+ADD holmes-d
maap-d
sa-standalone-*-linux64.tar.gz /home/holmes/
RUN chmod 755 /home/holmes/bin/*.sh
RUN chmod 755 /home/holmes/bin/*.sh