Skip to content
This repository was archived by the owner on Dec 17, 2023. It is now read-only.

Commit b7d98cd

Browse files
committed
update nginx version
1 parent 94a75db commit b7d98cd

File tree

3 files changed

+6
-40
lines changed

3 files changed

+6
-40
lines changed

Diff for: python2.7/Dockerfile

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,9 @@
11
FROM python:2.7-stretch
22

3-
ENV NGINX_VERSION 1.15.5-1~stretch
3+
ENV NGINX_VERSION 1.15.7-1~stretch
44

5-
# use multiple key servers to protect against build failure
65
RUN set -x && \
7-
NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; \
8-
found=''; \
9-
for server in \
10-
ha.pool.sks-keyservers.net \
11-
hkp://keyserver.ubuntu.com:80 \
12-
hkp://p80.pool.sks-keyservers.net:80 \
13-
pgp.mit.edu \
14-
; do \
15-
echo "Fetching GPG key $NGINX_GPGKEY from $server"; \
16-
apt-key adv --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; \
17-
done; \
18-
test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; \
6+
curl -O https://nginx.org/keys/nginx_signing.key && apt-key add ./nginx_signing.key; \
197
echo "deb http://nginx.org/packages/mainline/debian/ stretch nginx" >> /etc/apt/sources.list \
208
&& apt-get update \
219
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \

Diff for: python3.6/Dockerfile

+2-13
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
11
FROM python:3.6-stretch
22

3-
ENV NGINX_VERSION 1.15.5-1~stretch
3+
ENV NGINX_VERSION 1.15.7-1~stretch
44

55
# use multiple key servers to protect against build failure
66
RUN set -x && \
7-
NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; \
8-
found=''; \
9-
for server in \
10-
ha.pool.sks-keyservers.net \
11-
hkp://keyserver.ubuntu.com:80 \
12-
hkp://p80.pool.sks-keyservers.net:80 \
13-
pgp.mit.edu \
14-
; do \
15-
echo "Fetching GPG key $NGINX_GPGKEY from $server"; \
16-
apt-key adv --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; \
17-
done; \
18-
test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; \
7+
curl -O https://nginx.org/keys/nginx_signing.key && apt-key add ./nginx_signing.key; \
198
echo "deb http://nginx.org/packages/mainline/debian/ stretch nginx" >> /etc/apt/sources.list \
209
&& apt-get update \
2110
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \

Diff for: python3.7/Dockerfile

+2-13
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
11
FROM python:3.7-stretch
22

3-
ENV NGINX_VERSION 1.15.5-1~stretch
3+
ENV NGINX_VERSION 1.15.7-1~stretch
44

55
# use multiple key servers to protect against build failure
66
RUN set -x && \
7-
NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; \
8-
found=''; \
9-
for server in \
10-
ha.pool.sks-keyservers.net \
11-
hkp://keyserver.ubuntu.com:80 \
12-
hkp://p80.pool.sks-keyservers.net:80 \
13-
pgp.mit.edu \
14-
; do \
15-
echo "Fetching GPG key $NGINX_GPGKEY from $server"; \
16-
apt-key adv --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; \
17-
done; \
18-
test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; \
7+
curl -O https://nginx.org/keys/nginx_signing.key && apt-key add ./nginx_signing.key; \
198
echo "deb http://nginx.org/packages/mainline/debian/ stretch nginx" >> /etc/apt/sources.list \
209
&& apt-get update \
2110
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \

0 commit comments

Comments
 (0)