File tree Expand file tree Collapse file tree 4 files changed +22
-20
lines changed Expand file tree Collapse file tree 4 files changed +22
-20
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM alpine:3.9
33LABEL maintainer=
"NGINX Docker Maintainers <[email protected] >" 44
55ENV NGINX_VERSION 1.15.12
6- ENV NJS_VERSION 1.15.12. 0.3.1
6+ ENV NJS_VERSION 0.3.1
77ENV PKG_RELEASE 1
88
99RUN set -x \
@@ -14,7 +14,7 @@ RUN set -x \
1414 nginx-module-geoip=${NGINX_VERSION}-r${PKG_RELEASE} \
1515 nginx-module-image-filter=${NGINX_VERSION}-r${PKG_RELEASE} \
1616 nginx-module-perl=${NGINX_VERSION}-r${PKG_RELEASE} \
17- nginx-module-njs=${NJS_VERSION}-r${PKG_RELEASE} \
17+ nginx-module-njs=${NGINX_VERSION}.${ NJS_VERSION}-r${PKG_RELEASE} \
1818 " \
1919 && case "$apkArch" in \
2020 x86_64) \
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM alpine:3.9
33LABEL maintainer=
"NGINX Docker Maintainers <[email protected] >" 44
55ENV NGINX_VERSION 1.15.12
6- ENV NJS_VERSION 1.15.12. 0.3.1
6+ ENV NJS_VERSION 0.3.1
77ENV PKG_RELEASE 1
88
99RUN set -x \
@@ -13,7 +13,7 @@ RUN set -x \
1313 nginx-module-xslt=${NGINX_VERSION}-r${PKG_RELEASE} \
1414 nginx-module-geoip=${NGINX_VERSION}-r${PKG_RELEASE} \
1515 nginx-module-image-filter=${NGINX_VERSION}-r${PKG_RELEASE} \
16- nginx-module-njs=${NJS_VERSION}-r${PKG_RELEASE} \
16+ nginx-module-njs=${NGINX_VERSION}.${ NJS_VERSION}-r${PKG_RELEASE} \
1717 " \
1818 && case "$apkArch" in \
1919 x86_64) \
Original file line number Diff line number Diff line change @@ -2,8 +2,9 @@ FROM debian:stretch-slim
22
33LABEL maintainer=
"NGINX Docker Maintainers <[email protected] >" 44
5- ENV NGINX_VERSION 1.15.12-1~stretch
6- ENV NJS_VERSION 1.15.12.0.3.1-1~stretch
5+ ENV NGINX_VERSION 1.15.12
6+ ENV NJS_VERSION 0.3.1
7+ ENV PKG_RELEASE 1~stretch
78
89RUN set -x \
910 && apt-get update \
@@ -23,13 +24,13 @@ RUN set -x \
2324 test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; \
2425 apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* \
2526 && dpkgArch="$(dpkg --print-architecture)" \
26- && nginxPackages=" \
27- nginx=${NGINX_VERSION} \
28- nginx-module-xslt=${NGINX_VERSION} \
29- nginx-module-geoip=${NGINX_VERSION} \
30- nginx-module-image-filter=${NGINX_VERSION} \
31- nginx-module-perl=${NGINX_VERSION} \
32- nginx-module-njs=${NJS_VERSION} \
27+ && nginxPackages=" \
28+ nginx=${NGINX_VERSION}-${PKG_RELEASE } \
29+ nginx-module-xslt=${NGINX_VERSION}-${PKG_RELEASE } \
30+ nginx-module-geoip=${NGINX_VERSION}-${PKG_RELEASE } \
31+ nginx-module-image-filter=${NGINX_VERSION}-${PKG_RELEASE } \
32+ nginx-module-perl=${NGINX_VERSION}-${PKG_RELEASE } \
33+ nginx-module-njs=${NGINX_VERSION}.${ NJS_VERSION}-${PKG_RELEASE } \
3334 " \
3435 && case "$dpkgArch" in \
3536 amd64|i386) \
Original file line number Diff line number Diff line change @@ -2,8 +2,9 @@ FROM debian:stretch-slim
22
33LABEL maintainer=
"NGINX Docker Maintainers <[email protected] >" 44
5- ENV NGINX_VERSION 1.15.12-1~stretch
6- ENV NJS_VERSION 1.15.12.0.3.1-1~stretch
5+ ENV NGINX_VERSION 1.15.12
6+ ENV NJS_VERSION 0.3.1
7+ ENV PKG_RELEASE 1~stretch
78
89RUN set -x \
910 && apt-get update \
@@ -24,11 +25,11 @@ RUN set -x \
2425 apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* \
2526 && dpkgArch="$(dpkg --print-architecture)" \
2627 && nginxPackages=" \
27- nginx=${NGINX_VERSION} \
28- nginx-module-xslt=${NGINX_VERSION} \
29- nginx-module-geoip=${NGINX_VERSION} \
30- nginx-module-image-filter=${NGINX_VERSION} \
31- nginx-module-njs=${NJS_VERSION} \
28+ nginx=${NGINX_VERSION}-${PKG_RELEASE} \
29+ nginx-module-xslt=${NGINX_VERSION}-${PKG_RELEASE} \
30+ nginx-module-geoip=${NGINX_VERSION}-${PKG_RELEASE} \
31+ nginx-module-image-filter=${NGINX_VERSION}-${PKG_RELEASE} \
32+ nginx-module-njs=${NGINX_VERSION}.${ NJS_VERSION}-${PKG_RELEASE } \
3233 " \
3334 && case "$dpkgArch" in \
3435 amd64|i386) \
You can’t perform that action at this time.
0 commit comments