Skip to content
This repository has been archived by the owner on Apr 12, 2019. It is now read-only.

Commit

Permalink
Avoid latest and also use for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusTiede committed Jul 25, 2018
1 parent 00273a6 commit 04cf1a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion demo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openjdk:8
# https://hub.docker.com/r/adoptopenjdk/openjdk8-openj9/
FROM adoptopenjdk/openjdk8-openj9
RUN mkdir /opt/app
VOLUME /opt/app
WORKDIR /opt/app
Expand Down
2 changes: 1 addition & 1 deletion hub/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# https://hub.docker.com/r/adoptopenjdk/openjdk8-openj9/
FROM adoptopenjdk/openjdk8-openj9:latest
FROM adoptopenjdk/openjdk8-openj9
RUN mkdir /opt/app
COPY build/libs/hub-0.0.1-SNAPSHOT.jar /opt/app/app.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/opt/app/app.jar"]
Expand Down
2 changes: 1 addition & 1 deletion node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# https://hub.docker.com/r/adoptopenjdk/openjdk8-openj9/
FROM adoptopenjdk/openjdk8-openj9:latest
FROM adoptopenjdk/openjdk8-openj9
RUN mkdir /opt/app
RUN mkdir /opt/app/config
VOLUME /opt/app/config
Expand Down

0 comments on commit 04cf1a4

Please sign in to comment.