Skip to content

Commit 9472806

Browse files
author
Christopher Horrell
committed
curl: always use --compressed flag
1 parent 4e0c4c8 commit 9472806

File tree

23 files changed

+23
-23
lines changed

23 files changed

+23
-23
lines changed

10/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
3232
i386) ARCH='x86';; \
3333
*) echo "unsupported architecture"; exit 1 ;; \
3434
esac \
35-
&& curl -fsSLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
35+
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
3636
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
3737
&& gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc \
3838
&& grep " node-v$NODE_VERSION-linux-$ARCH.tar.xz\$" SHASUMS256.txt | sha256sum -c - \

10/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN addgroup -g 1000 node \
3131
gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys "$key" || \
3232
gpg --keyserver hkp://pgp.mit.edu:80 --recv-keys "$key" ; \
3333
done \
34-
&& curl -fsSLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION.tar.xz" \
34+
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION.tar.xz" \
3535
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
3636
&& gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc \
3737
&& grep " node-v$NODE_VERSION.tar.xz\$" SHASUMS256.txt | sha256sum -c - \

10/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN buildDeps='xz-utils' \
3636
&& set -x \
3737
&& apt-get update && apt-get install -y ca-certificates curl wget $buildDeps --no-install-recommends \
3838
&& rm -rf /var/lib/apt/lists/* \
39-
&& curl -fsSLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
39+
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
4040
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
4141
&& gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc \
4242
&& grep " node-v$NODE_VERSION-linux-$ARCH.tar.xz\$" SHASUMS256.txt | sha256sum -c - \

10/stretch/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
3232
i386) ARCH='x86';; \
3333
*) echo "unsupported architecture"; exit 1 ;; \
3434
esac \
35-
&& curl -fsSLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
35+
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
3636
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
3737
&& gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc \
3838
&& grep " node-v$NODE_VERSION-linux-$ARCH.tar.xz\$" SHASUMS256.txt | sha256sum -c - \

6/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
3232
i386) ARCH='x86';; \
3333
*) echo "unsupported architecture"; exit 1 ;; \
3434
esac \
35-
&& curl -fsSLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
35+
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
3636
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
3737
&& gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc \
3838
&& grep " node-v$NODE_VERSION-linux-$ARCH.tar.xz\$" SHASUMS256.txt | sha256sum -c - \

6/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN addgroup -g 1000 node \
3131
gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys "$key" || \
3232
gpg --keyserver hkp://pgp.mit.edu:80 --recv-keys "$key" ; \
3333
done \
34-
&& curl -fsSLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION.tar.xz" \
34+
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION.tar.xz" \
3535
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
3636
&& gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc \
3737
&& grep " node-v$NODE_VERSION.tar.xz\$" SHASUMS256.txt | sha256sum -c - \

6/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN buildDeps='xz-utils' \
3636
&& set -x \
3737
&& apt-get update && apt-get install -y ca-certificates curl wget $buildDeps --no-install-recommends \
3838
&& rm -rf /var/lib/apt/lists/* \
39-
&& curl -fsSLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
39+
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
4040
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
4141
&& gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc \
4242
&& grep " node-v$NODE_VERSION-linux-$ARCH.tar.xz\$" SHASUMS256.txt | sha256sum -c - \

6/stretch/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
3232
i386) ARCH='x86';; \
3333
*) echo "unsupported architecture"; exit 1 ;; \
3434
esac \
35-
&& curl -fsSLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
35+
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
3636
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
3737
&& gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc \
3838
&& grep " node-v$NODE_VERSION-linux-$ARCH.tar.xz\$" SHASUMS256.txt | sha256sum -c - \

8/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
3232
i386) ARCH='x86';; \
3333
*) echo "unsupported architecture"; exit 1 ;; \
3434
esac \
35-
&& curl -fsSLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
35+
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
3636
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
3737
&& gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc \
3838
&& grep " node-v$NODE_VERSION-linux-$ARCH.tar.xz\$" SHASUMS256.txt | sha256sum -c - \

8/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN addgroup -g 1000 node \
3131
gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys "$key" || \
3232
gpg --keyserver hkp://pgp.mit.edu:80 --recv-keys "$key" ; \
3333
done \
34-
&& curl -fsSLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION.tar.xz" \
34+
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION.tar.xz" \
3535
&& curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
3636
&& gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc \
3737
&& grep " node-v$NODE_VERSION.tar.xz\$" SHASUMS256.txt | sha256sum -c - \

0 commit comments

Comments
 (0)