Skip to content

Commit

Permalink
Using openjdk as base image, java repository is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Magnusson committed Jan 14, 2017
1 parent 6231e07 commit 77503ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/application/Dockerfile.expected
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM java:7-jre
FROM openjdk:7-jre
EXPOSE 8080
ADD docker-jetty-1.0.tar /
ENTRYPOINT ["/docker-jetty/bin/docker-jetty"]
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
* @author Matthias Grüter, matthias.gruter@transmode.com
*/
public enum JavaBaseImage {
JAVA6("java:6-jre", JavaVersion.VERSION_1_6),
JAVA7("java:7-jre", JavaVersion.VERSION_1_7),
JAVA8("java:8-jre", JavaVersion.VERSION_1_8);
JAVA6("openjdk:6-jre", JavaVersion.VERSION_1_6),
JAVA7("openjdk:7-jre", JavaVersion.VERSION_1_7),
JAVA8("openjdk:8-jre", JavaVersion.VERSION_1_8);

final String imageName;
final JavaVersion target;
Expand Down

0 comments on commit 77503ec

Please sign in to comment.