Skip to content

Commit

Permalink
Added JDK 10
Browse files Browse the repository at this point in the history
  • Loading branch information
rafabene committed Apr 21, 2018
1 parent d8967d3 commit 6cfca79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile.openjdk10
@@ -0,0 +1,5 @@
FROM openjdk:10
ADD target/java-container.jar /usr/src/myapp/
WORKDIR /usr/src/myapp
EXPOSE 8080
CMD java -XX:+PrintFlagsFinal -jar java-container.jar
1 change: 1 addition & 0 deletions build_docker.sh
@@ -1,4 +1,5 @@
docker build -t rafabene/java-container:openjdk -f Dockerfile.openjdk .
docker build -t rafabene/java-container:openjdk10 -f Dockerfile.openjdk10 .
docker build -t rafabene/java-container:openjdk-env -f Dockerfile.openjdk-env .
docker build -t rafabene/java-container:openjdk-cgroup -f Dockerfile.openjdk-cgroup .
docker build -t rafabene/java-container:fabric8 -f Dockerfile.fabric8 .

0 comments on commit 6cfca79

Please sign in to comment.