Skip to content

Commit 62c9ed2

Browse files
committed
[FAB-1411] Pull gradle zip by curl instead of wget
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 <[email protected]>
1 parent 5adaef7 commit 62c9ed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images/javaenv/Dockerfile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM hyperledger/fabric-baseimage:_BASE_TAG_
2-
RUN wget https://services.gradle.org/distributions/gradle-2.12-bin.zip -P /tmp --quiet
2+
RUN curl -sSL https://services.gradle.org/distributions/gradle-2.12-bin.zip > /tmp/gradle-2.12-bin.zip
33
RUN unzip -qo /tmp/gradle-2.12-bin.zip -d /opt && rm /tmp/gradle-2.12-bin.zip
44
RUN ln -s /opt/gradle-2.12/bin/gradle /usr/bin
55
ENV MAVEN_VERSION=3.3.9

0 commit comments

Comments
 (0)