Skip to content

Commit

Permalink
Update docker openjdk image
Browse files Browse the repository at this point in the history
Current JDK image sourced from dockerhub (java:openjdk-8) is being
deprecated (see https://hub.docker.com/_/java/). Update the relevent
docker file to use the new openjdk:8 image.

Change-Id: Idf9bac8ac6f981ea6e0311190365f37f98915666
Signed-off-by: Julian Carrivick <cjulian@au1.ibm.com>
  • Loading branch information
juliancarrivick-ibm committed Sep 7, 2016
1 parent dc2d339 commit 518f3c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images/javaenv/Dockerfile.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM java:openjdk-8
FROM openjdk:8
RUN wget https://services.gradle.org/distributions/gradle-2.12-bin.zip -P /tmp --quiet
RUN unzip -q /tmp/gradle-2.12-bin.zip -d /opt && rm /tmp/gradle-2.12-bin.zip
RUN ln -s /opt/gradle-2.12/bin/gradle /usr/bin
ADD javashimsrc.tar.bz2 /root
ADD protos.tar.bz2 /root
WORKDIR /root
# Build java shim after copying proto files from fabric/proto
# Build java shim after copying proto files from fabric/proto
RUN core/chaincode/shim/java/javabuild.sh

0 comments on commit 518f3c9

Please sign in to comment.