Skip to content

Commit

Permalink
[FAB-1411] Pull gradle zip by curl instead of wget
Browse files Browse the repository at this point in the history
Pull the gradle zip package by using curl instead of wget, so it can
understand the "socks*://" style proxy protocol prefixes, yet support
wget's "http*://" scheme at the same time.

This partially fixes FAB-1411.

Change-Id: I299ae64ea6bc26bf49946a5661c730bfa32166b4
Signed-off-by: Ray Chen <ray@hyperchain.cn>
  • Loading branch information
oldsharp committed Dec 22, 2016
1 parent 5adaef7 commit 62c9ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/javaenv/Dockerfile.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM hyperledger/fabric-baseimage:_BASE_TAG_
RUN wget https://services.gradle.org/distributions/gradle-2.12-bin.zip -P /tmp --quiet
RUN curl -sSL https://services.gradle.org/distributions/gradle-2.12-bin.zip > /tmp/gradle-2.12-bin.zip
RUN unzip -qo /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
ENV MAVEN_VERSION=3.3.9
Expand Down

0 comments on commit 62c9ed2

Please sign in to comment.