Skip to content

Commit

Permalink
Adding target for ADD
Browse files Browse the repository at this point in the history
Hi,
Just a suggestion to add the target to the line of downloading the JDK9. Potentially consider making this line (with the download) the not-commented option to ensure the Dockerfile works first time a build is attempted.
Thanks,
Peter Dam
  • Loading branch information
Peter Dam authored Oct 16, 2017
1 parent 1cb986a commit 40e411c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion developer-tools/java/chapters/ch03-build-image-java-9.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Use the following contents:
# A JDK 9 with Debian slim
FROM debian:stable-slim
# Download from http://jdk.java.net/9/
# ADD http://download.java.net/java/GA/jdk9/9/binaries/openjdk-9_linux-x64_bin.tar.gz
# ADD http://download.java.net/java/GA/jdk9/9/binaries/openjdk-9_linux-x64_bin.tar.gz /opt
ADD openjdk-9_linux-x64_bin.tar.gz /opt
# Set up env variables
ENV JAVA_HOME=/opt/jdk-9
Expand Down

0 comments on commit 40e411c

Please sign in to comment.