Skip to content

Commit

Permalink
[Changed] Bump to openjdk 11
Browse files Browse the repository at this point in the history
  • Loading branch information
xtreme-debbie-chen committed Nov 6, 2019
1 parent 09c781a commit 499f8ab
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
RUN npm install -g bower && \
echo '{ "allow_root": true }' > /root/.bowerrc

# install jdk 12
RUN curl -L -o openjdk12.tar.gz https://download.java.net/java/GA/jdk12.0.2/e482c34c86bd4bf8b56c0b35558996b9/10/GPL/openjdk-12.0.2_linux-x64_bin.tar.gz && \
tar xvf openjdk12.tar.gz && \
sudo mv jdk-12.0.2 /opt/
ENV JAVA_HOME=/opt/jdk-12.0.2
# install jdk 11
RUN curl -L -o openjdk11.tar.gz https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_linux-x64_bin.tar.gz && \
tar xvf openjdk11.tar.gz && \
sudo mv jdk-11.0.2 /opt/
ENV JAVA_HOME=/opt/jdk-11.0.2
ENV PATH=$PATH:$JAVA_HOME/bin
RUN java -version

Expand Down

0 comments on commit 499f8ab

Please sign in to comment.