diff --git a/demo/Dockerfile b/demo/Dockerfile index 04b358e..7214580 100644 --- a/demo/Dockerfile +++ b/demo/Dockerfile @@ -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 diff --git a/hub/Dockerfile b/hub/Dockerfile index a2082a0..5901947 100644 --- a/hub/Dockerfile +++ b/hub/Dockerfile @@ -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"] diff --git a/node/Dockerfile b/node/Dockerfile index ee74745..5d71ee7 100644 --- a/node/Dockerfile +++ b/node/Dockerfile @@ -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