Skip to content

Commit ab8516e

Browse files
committed
Updated stable nginx to 1.20.0
While at it, bumped alpine base image to 3.13 and njs to 0.5.3
1 parent 010bcbf commit ab8516e

File tree

5 files changed

+22
-25
lines changed

5 files changed

+22
-25
lines changed

stable/alpine-perl/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
#
44
# PLEASE DO NOT EDIT IT DIRECTLY.
55
#
6-
FROM alpine:3.11
6+
FROM alpine:3.13
77

88
LABEL maintainer="NGINX Docker Maintainers <[email protected]>"
99

10-
ENV NGINX_VERSION 1.18.0
11-
ENV NJS_VERSION 0.4.4
12-
ENV PKG_RELEASE 2
10+
ENV NGINX_VERSION 1.20.0
11+
ENV NJS_VERSION 0.5.3
12+
ENV PKG_RELEASE 1
1313

1414
RUN set -x \
1515
# create nginx user/group first, to be consistent throughout docker variants
@@ -25,7 +25,7 @@ RUN set -x \
2525
nginx-module-njs=${NGINX_VERSION}.${NJS_VERSION}-r${PKG_RELEASE} \
2626
" \
2727
&& case "$apkArch" in \
28-
x86_64) \
28+
x86_64|aarch64) \
2929
# arches officially built by upstream
3030
set -x \
3131
&& KEY_SHA512="e7fa8303923d9b95db37a77ad46c68fd4755ff935d0a534d26eba83de193c76166c68bfe7f65471bf8881004ef4aa6df3e34689c305662750c0172fca5d8552a *stdin" \

stable/alpine/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
#
44
# PLEASE DO NOT EDIT IT DIRECTLY.
55
#
6-
FROM alpine:3.11
6+
FROM alpine:3.13
77

88
LABEL maintainer="NGINX Docker Maintainers <[email protected]>"
99

10-
ENV NGINX_VERSION 1.18.0
11-
ENV NJS_VERSION 0.4.4
12-
ENV PKG_RELEASE 2
10+
ENV NGINX_VERSION 1.20.0
11+
ENV NJS_VERSION 0.5.3
12+
ENV PKG_RELEASE 1
1313

1414
RUN set -x \
1515
# create nginx user/group first, to be consistent throughout docker variants
@@ -24,7 +24,7 @@ RUN set -x \
2424
nginx-module-njs=${NGINX_VERSION}.${NJS_VERSION}-r${PKG_RELEASE} \
2525
" \
2626
&& case "$apkArch" in \
27-
x86_64) \
27+
x86_64|aarch64) \
2828
# arches officially built by upstream
2929
set -x \
3030
&& KEY_SHA512="e7fa8303923d9b95db37a77ad46c68fd4755ff935d0a534d26eba83de193c76166c68bfe7f65471bf8881004ef4aa6df3e34689c305662750c0172fca5d8552a *stdin" \

stable/debian-perl/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ FROM debian:buster-slim
77

88
LABEL maintainer="NGINX Docker Maintainers <[email protected]>"
99

10-
ENV NGINX_VERSION 1.18.0
11-
ENV NJS_VERSION 0.4.4
12-
ENV PKG_RELEASE 2~buster
10+
ENV NGINX_VERSION 1.20.0
11+
ENV NJS_VERSION 0.5.3
12+
ENV PKG_RELEASE 1~buster
1313

1414
RUN set -x \
1515
# create nginx user/group first, to be consistent throughout docker variants
@@ -38,7 +38,7 @@ RUN set -x \
3838
nginx-module-geoip=${NGINX_VERSION}-${PKG_RELEASE} \
3939
nginx-module-image-filter=${NGINX_VERSION}-${PKG_RELEASE} \
4040
nginx-module-perl=${NGINX_VERSION}-${PKG_RELEASE} \
41-
nginx-module-njs=${NGINX_VERSION}.${NJS_VERSION}-${PKG_RELEASE} \
41+
nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${PKG_RELEASE} \
4242
" \
4343
&& case "$dpkgArch" in \
4444
amd64|i386|arm64) \

stable/debian/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ FROM debian:buster-slim
77

88
LABEL maintainer="NGINX Docker Maintainers <[email protected]>"
99

10-
ENV NGINX_VERSION 1.18.0
11-
ENV NJS_VERSION 0.4.4
12-
ENV PKG_RELEASE 2~buster
10+
ENV NGINX_VERSION 1.20.0
11+
ENV NJS_VERSION 0.5.3
12+
ENV PKG_RELEASE 1~buster
1313

1414
RUN set -x \
1515
# create nginx user/group first, to be consistent throughout docker variants
@@ -37,7 +37,7 @@ RUN set -x \
3737
nginx-module-xslt=${NGINX_VERSION}-${PKG_RELEASE} \
3838
nginx-module-geoip=${NGINX_VERSION}-${PKG_RELEASE} \
3939
nginx-module-image-filter=${NGINX_VERSION}-${PKG_RELEASE} \
40-
nginx-module-njs=${NGINX_VERSION}.${NJS_VERSION}-${PKG_RELEASE} \
40+
nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${PKG_RELEASE} \
4141
" \
4242
&& case "$dpkgArch" in \
4343
amd64|i386|arm64) \

update.sh

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ declare branches=(
1111

1212
declare -A nginx=(
1313
[mainline]='1.19.10'
14-
[stable]='1.18.0'
14+
[stable]='1.20.0'
1515
)
1616

1717
defaultnjs='0.5.3'
1818
declare -A njs=(
19-
[stable]='0.4.4'
19+
# [stable]='0.4.4'
2020
)
2121

2222
defaultpkg='1'
2323
declare -A pkg=(
24-
[stable]=2
24+
# [stable]=2
2525
)
2626

2727
defaultdebian='buster'
@@ -31,7 +31,7 @@ declare -A debian=(
3131

3232
defaultalpine='3.13'
3333
declare -A alpine=(
34-
[stable]='3.11'
34+
# [stable]='3.11'
3535
)
3636

3737
# When we bump njs version in a stable release we don't move the tag in the
@@ -54,9 +54,6 @@ get_packages() {
5454
r="r"
5555
sep="."
5656
;;
57-
debian*:stable)
58-
sep="."
59-
;;
6057
debian*:*)
6158
sep="+"
6259
;;

0 commit comments

Comments
 (0)