Skip to content

Commit 07a4c32

Browse files
committed
Use TLS to fetch nginx sources, signatures and public keys
1 parent 3ba04e3 commit 07a4c32

File tree

9 files changed

+26
-26
lines changed

9 files changed

+26
-26
lines changed

mainline/alpine-perl/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
6767
gd-dev \
6868
geoip-dev \
6969
perl-dev \
70-
&& curl -fSL http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.tar.gz \
71-
&& curl -fSL http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz.asc -o nginx.tar.gz.asc \
70+
&& curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.tar.gz \
71+
&& curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz.asc -o nginx.tar.gz.asc \
7272
&& export GNUPGHOME="$(mktemp -d)" \
7373
&& found=''; \
7474
for server in \
7575
ha.pool.sks-keyservers.net \
76-
hkp://keyserver.ubuntu.com:80 \
77-
hkp://p80.pool.sks-keyservers.net:80 \
76+
hkps://keyserver.ubuntu.com:80 \
77+
hkps://p80.pool.sks-keyservers.net:80 \
7878
pgp.mit.edu \
7979
; do \
8080
echo "Fetching GPG key $GPG_KEYS from $server"; \

mainline/alpine/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
6565
libxslt-dev \
6666
gd-dev \
6767
geoip-dev \
68-
&& curl -fSL http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.tar.gz \
69-
&& curl -fSL http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz.asc -o nginx.tar.gz.asc \
68+
&& curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.tar.gz \
69+
&& curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz.asc -o nginx.tar.gz.asc \
7070
&& export GNUPGHOME="$(mktemp -d)" \
7171
&& found=''; \
7272
for server in \
7373
ha.pool.sks-keyservers.net \
74-
hkp://keyserver.ubuntu.com:80 \
75-
hkp://p80.pool.sks-keyservers.net:80 \
74+
hkps://keyserver.ubuntu.com:80 \
75+
hkps://p80.pool.sks-keyservers.net:80 \
7676
pgp.mit.edu \
7777
; do \
7878
echo "Fetching GPG key $GPG_KEYS from $server"; \

mainline/amplify/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ RUN set -x \
1717
found=''; \
1818
for server in \
1919
ha.pool.sks-keyservers.net \
20-
hkp://keyserver.ubuntu.com:80 \
21-
hkp://p80.pool.sks-keyservers.net:80 \
20+
hkps://keyserver.ubuntu.com:80 \
21+
hkps://p80.pool.sks-keyservers.net:80 \
2222
pgp.mit.edu \
2323
; do \
2424
echo "Fetching GPG key $NGINX_GPGKEY from $server"; \

mainline/stretch-perl/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ RUN set -x \
1313
found=''; \
1414
for server in \
1515
ha.pool.sks-keyservers.net \
16-
hkp://keyserver.ubuntu.com:80 \
17-
hkp://p80.pool.sks-keyservers.net:80 \
16+
hkps://keyserver.ubuntu.com:80 \
17+
hkps://p80.pool.sks-keyservers.net:80 \
1818
pgp.mit.edu \
1919
; do \
2020
echo "Fetching GPG key $NGINX_GPGKEY from $server"; \

mainline/stretch/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ RUN set -x \
1313
found=''; \
1414
for server in \
1515
ha.pool.sks-keyservers.net \
16-
hkp://keyserver.ubuntu.com:80 \
17-
hkp://p80.pool.sks-keyservers.net:80 \
16+
hkps://keyserver.ubuntu.com:80 \
17+
hkps://p80.pool.sks-keyservers.net:80 \
1818
pgp.mit.edu \
1919
; do \
2020
echo "Fetching GPG key $NGINX_GPGKEY from $server"; \

stable/alpine-perl/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
6767
gd-dev \
6868
geoip-dev \
6969
perl-dev \
70-
&& curl -fSL http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.tar.gz \
71-
&& curl -fSL http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz.asc -o nginx.tar.gz.asc \
70+
&& curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.tar.gz \
71+
&& curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz.asc -o nginx.tar.gz.asc \
7272
&& export GNUPGHOME="$(mktemp -d)" \
7373
&& found=''; \
7474
for server in \
7575
ha.pool.sks-keyservers.net \
76-
hkp://keyserver.ubuntu.com:80 \
77-
hkp://p80.pool.sks-keyservers.net:80 \
76+
hkps://keyserver.ubuntu.com:80 \
77+
hkps://p80.pool.sks-keyservers.net:80 \
7878
pgp.mit.edu \
7979
; do \
8080
echo "Fetching GPG key $GPG_KEYS from $server"; \

stable/alpine/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
6565
libxslt-dev \
6666
gd-dev \
6767
geoip-dev \
68-
&& curl -fSL http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.tar.gz \
69-
&& curl -fSL http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz.asc -o nginx.tar.gz.asc \
68+
&& curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.tar.gz \
69+
&& curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz.asc -o nginx.tar.gz.asc \
7070
&& export GNUPGHOME="$(mktemp -d)" \
7171
&& found=''; \
7272
for server in \
7373
ha.pool.sks-keyservers.net \
74-
hkp://keyserver.ubuntu.com:80 \
75-
hkp://p80.pool.sks-keyservers.net:80 \
74+
hkps://keyserver.ubuntu.com:80 \
75+
hkps://p80.pool.sks-keyservers.net:80 \
7676
pgp.mit.edu \
7777
; do \
7878
echo "Fetching GPG key $GPG_KEYS from $server"; \

stable/stretch-perl/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ RUN set -x \
1313
found=''; \
1414
for server in \
1515
ha.pool.sks-keyservers.net \
16-
hkp://keyserver.ubuntu.com:80 \
17-
hkp://p80.pool.sks-keyservers.net:80 \
16+
hkps://keyserver.ubuntu.com:80 \
17+
hkps://p80.pool.sks-keyservers.net:80 \
1818
pgp.mit.edu \
1919
; do \
2020
echo "Fetching GPG key $NGINX_GPGKEY from $server"; \

stable/stretch/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ RUN set -x \
1313
found=''; \
1414
for server in \
1515
ha.pool.sks-keyservers.net \
16-
hkp://keyserver.ubuntu.com:80 \
17-
hkp://p80.pool.sks-keyservers.net:80 \
16+
hkps://keyserver.ubuntu.com:80 \
17+
hkps://p80.pool.sks-keyservers.net:80 \
1818
pgp.mit.edu \
1919
; do \
2020
echo "Fetching GPG key $NGINX_GPGKEY from $server"; \

0 commit comments

Comments
 (0)