File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,12 @@ RUN apt-get update \
25
25
dirmngr \
26
26
gnupg \
27
27
unzip \
28
- wget \
29
28
&& rm --recursive --force /var/lib/apt/lists/*
30
29
31
30
ENV GROOVY_VERSION 3.0.9
32
31
RUN set -o errexit -o nounset \
33
32
&& echo "Downloading Groovy" \
34
- && wget --no-verbose --output-document= groovy.zip "https://archive.apache.org/dist/groovy/${GROOVY_VERSION}/distribution/apache-groovy-binary-${GROOVY_VERSION}.zip" \
33
+ && curl --fail --show-error --silent --output groovy.zip --location "https://archive.apache.org/dist/groovy/${GROOVY_VERSION}/distribution/apache-groovy-binary-${GROOVY_VERSION}.zip" \
35
34
\
36
35
&& echo "Importing keys listed in http://www.apache.org/dist/groovy/KEYS from key server" \
37
36
&& export GNUPGHOME="$(mktemp -d)" \
@@ -43,7 +42,7 @@ RUN set -o errexit -o nounset \
43
42
81CABC23EECA0790E8989B361FF96E10F0E13706 \
44
43
\
45
44
&& echo "Checking download signature" \
46
- && wget --no-verbose --output-document= groovy.zip.asc "https://archive.apache.org/dist/groovy/${GROOVY_VERSION}/distribution/apache-groovy-binary-${GROOVY_VERSION}.zip.asc" \
45
+ && curl --fail --show-error --silent --output groovy.zip.asc --location "https://archive.apache.org/dist/groovy/${GROOVY_VERSION}/distribution/apache-groovy-binary-${GROOVY_VERSION}.zip.asc" \
47
46
&& gpg --batch --no-tty --verify groovy.zip.asc groovy.zip \
48
47
&& rm --recursive --force "${GNUPGHOME}" \
49
48
&& rm groovy.zip.asc \
Original file line number Diff line number Diff line change @@ -25,13 +25,12 @@ RUN apt-get update \
25
25
dirmngr \
26
26
gnupg \
27
27
unzip \
28
- wget \
29
28
&& rm --recursive --force /var/lib/apt/lists/*
30
29
31
30
ENV GROOVY_VERSION 3.0.9
32
31
RUN set -o errexit -o nounset \
33
32
&& echo "Downloading Groovy" \
34
- && wget --no-verbose --output-document= groovy.zip "https://archive.apache.org/dist/groovy/${GROOVY_VERSION}/distribution/apache-groovy-binary-${GROOVY_VERSION}.zip" \
33
+ && curl --fail --show-error --silent --output groovy.zip --location "https://archive.apache.org/dist/groovy/${GROOVY_VERSION}/distribution/apache-groovy-binary-${GROOVY_VERSION}.zip" \
35
34
\
36
35
&& echo "Importing keys listed in http://www.apache.org/dist/groovy/KEYS from key server" \
37
36
&& export GNUPGHOME="$(mktemp -d)" \
@@ -43,7 +42,7 @@ RUN set -o errexit -o nounset \
43
42
81CABC23EECA0790E8989B361FF96E10F0E13706 \
44
43
\
45
44
&& echo "Checking download signature" \
46
- && wget --no-verbose --output-document= groovy.zip.asc "https://archive.apache.org/dist/groovy/${GROOVY_VERSION}/distribution/apache-groovy-binary-${GROOVY_VERSION}.zip.asc" \
45
+ && curl --fail --show-error --silent --output groovy.zip.asc --location "https://archive.apache.org/dist/groovy/${GROOVY_VERSION}/distribution/apache-groovy-binary-${GROOVY_VERSION}.zip.asc" \
47
46
&& gpg --batch --no-tty --verify groovy.zip.asc groovy.zip \
48
47
&& rm --recursive --force "${GNUPGHOME}" \
49
48
&& rm groovy.zip.asc \
Original file line number Diff line number Diff line change @@ -25,13 +25,12 @@ RUN apt-get update \
25
25
dirmngr \
26
26
gnupg \
27
27
unzip \
28
- wget \
29
28
&& rm --recursive --force /var/lib/apt/lists/*
30
29
31
30
ENV GROOVY_VERSION 3.0.9
32
31
RUN set -o errexit -o nounset \
33
32
&& echo "Downloading Groovy" \
34
- && wget --no-verbose --output-document= groovy.zip "https://archive.apache.org/dist/groovy/${GROOVY_VERSION}/distribution/apache-groovy-binary-${GROOVY_VERSION}.zip" \
33
+ && curl --fail --show-error --silent --output groovy.zip --location "https://archive.apache.org/dist/groovy/${GROOVY_VERSION}/distribution/apache-groovy-binary-${GROOVY_VERSION}.zip" \
35
34
\
36
35
&& echo "Importing keys listed in http://www.apache.org/dist/groovy/KEYS from key server" \
37
36
&& export GNUPGHOME="$(mktemp -d)" \
@@ -43,7 +42,7 @@ RUN set -o errexit -o nounset \
43
42
81CABC23EECA0790E8989B361FF96E10F0E13706 \
44
43
\
45
44
&& echo "Checking download signature" \
46
- && wget --no-verbose --output-document= groovy.zip.asc "https://archive.apache.org/dist/groovy/${GROOVY_VERSION}/distribution/apache-groovy-binary-${GROOVY_VERSION}.zip.asc" \
45
+ && curl --fail --show-error --silent --output groovy.zip.asc --location "https://archive.apache.org/dist/groovy/${GROOVY_VERSION}/distribution/apache-groovy-binary-${GROOVY_VERSION}.zip.asc" \
47
46
&& gpg --batch --no-tty --verify groovy.zip.asc groovy.zip \
48
47
&& rm --recursive --force "${GNUPGHOME}" \
49
48
&& rm groovy.zip.asc \
You can’t perform that action at this time.
0 commit comments