Skip to content

Commit 7870605

Browse files
committed
Updated entrypoints and dockerfiles after recent commits.
1 parent 5673d69 commit 7870605

File tree

10 files changed

+30
-30
lines changed

10 files changed

+30
-30
lines changed

Diff for: mainline/alpine-perl/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# PLEASE DO NOT EDIT IT DIRECTLY.
55
#
6-
FROM nginx:1.25.0-alpine
6+
FROM nginx:1.25.1-alpine
77

88
RUN set -x \
99
&& apkArch="$(cat /etc/apk/arch)" \
@@ -55,7 +55,7 @@ RUN set -x \
5555
export HOME=${tempDir} \
5656
&& cd ${tempDir} \
5757
&& curl -f -O https://hg.nginx.org/pkg-oss/archive/${NGINX_VERSION}-${PKG_RELEASE}.tar.gz \
58-
&& PKGOSSCHECKSUM=\"18bee4bd498e0b8da765e8cd2d824e1027d40fd95d55fd59339cdb5d5e0e633795f4196c76045e86027cdfc6ab05a3cc0d39b25bd0a967f1edd47910d813262a *${NGINX_VERSION}-${PKG_RELEASE}.tar.gz\" \
58+
&& PKGOSSCHECKSUM=\"dd08a5c2b441817d58ffc91ade0d927a21bc9854c768391e92a005997a2961bcda64ca6a5cfce98d5394ac2787c8f4839b150f206835a8a7db944625651f9fd8 *${NGINX_VERSION}-${PKG_RELEASE}.tar.gz\" \
5959
&& if [ \"\$(openssl sha512 -r ${NGINX_VERSION}-${PKG_RELEASE}.tar.gz)\" = \"\$PKGOSSCHECKSUM\" ]; then \
6060
echo \"pkg-oss tarball checksum verification succeeded!\"; \
6161
else \

Diff for: mainline/alpine-slim/15-local-resolvers.envsh

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ set -eu
66
LC_ALL=C
77
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
88

9-
if [ "${NGINX_ENTRYPOINT_LOCAL_RESOLVERS}" ]; then
10-
export NGINX_LOCAL_RESOLVERS=$(awk 'BEGIN{ORS=" "} $1=="nameserver" {print $2}' /etc/resolv.conf)
11-
fi
9+
[ "${NGINX_ENTRYPOINT_LOCAL_RESOLVERS:-}" ] || return 0
10+
11+
export NGINX_LOCAL_RESOLVERS=$(awk 'BEGIN{ORS=" "} $1=="nameserver" {print $2}' /etc/resolv.conf)

Diff for: mainline/alpine-slim/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ FROM alpine:3.17
77

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

10-
ENV NGINX_VERSION 1.25.0
10+
ENV NGINX_VERSION 1.25.1
1111
ENV PKG_RELEASE 1
1212

1313
RUN set -x \
@@ -57,7 +57,7 @@ RUN set -x \
5757
export HOME=${tempDir} \
5858
&& cd ${tempDir} \
5959
&& curl -f -O https://hg.nginx.org/pkg-oss/archive/${NGINX_VERSION}-${PKG_RELEASE}.tar.gz \
60-
&& PKGOSSCHECKSUM=\"18bee4bd498e0b8da765e8cd2d824e1027d40fd95d55fd59339cdb5d5e0e633795f4196c76045e86027cdfc6ab05a3cc0d39b25bd0a967f1edd47910d813262a *${NGINX_VERSION}-${PKG_RELEASE}.tar.gz\" \
60+
&& PKGOSSCHECKSUM=\"dd08a5c2b441817d58ffc91ade0d927a21bc9854c768391e92a005997a2961bcda64ca6a5cfce98d5394ac2787c8f4839b150f206835a8a7db944625651f9fd8 *${NGINX_VERSION}-${PKG_RELEASE}.tar.gz\" \
6161
&& if [ \"\$(openssl sha512 -r ${NGINX_VERSION}-${PKG_RELEASE}.tar.gz)\" = \"\$PKGOSSCHECKSUM\" ]; then \
6262
echo \"pkg-oss tarball checksum verification succeeded!\"; \
6363
else \

Diff for: mainline/alpine/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# PLEASE DO NOT EDIT IT DIRECTLY.
55
#
6-
FROM nginx:1.25.0-alpine-slim
6+
FROM nginx:1.25.1-alpine-slim
77

88
ENV NJS_VERSION 0.7.12
99

@@ -59,7 +59,7 @@ RUN set -x \
5959
export HOME=${tempDir} \
6060
&& cd ${tempDir} \
6161
&& curl -f -O https://hg.nginx.org/pkg-oss/archive/${NGINX_VERSION}-${PKG_RELEASE}.tar.gz \
62-
&& PKGOSSCHECKSUM=\"18bee4bd498e0b8da765e8cd2d824e1027d40fd95d55fd59339cdb5d5e0e633795f4196c76045e86027cdfc6ab05a3cc0d39b25bd0a967f1edd47910d813262a *${NGINX_VERSION}-${PKG_RELEASE}.tar.gz\" \
62+
&& PKGOSSCHECKSUM=\"dd08a5c2b441817d58ffc91ade0d927a21bc9854c768391e92a005997a2961bcda64ca6a5cfce98d5394ac2787c8f4839b150f206835a8a7db944625651f9fd8 *${NGINX_VERSION}-${PKG_RELEASE}.tar.gz\" \
6363
&& if [ \"\$(openssl sha512 -r ${NGINX_VERSION}-${PKG_RELEASE}.tar.gz)\" = \"\$PKGOSSCHECKSUM\" ]; then \
6464
echo \"pkg-oss tarball checksum verification succeeded!\"; \
6565
else \

Diff for: mainline/debian-perl/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# PLEASE DO NOT EDIT IT DIRECTLY.
55
#
6-
FROM nginx:1.25.0
6+
FROM nginx:1.25.1
77

88
RUN set -x \
99
&& apt-get update \
@@ -36,13 +36,13 @@ RUN set -x \
3636
&& case "$dpkgArch" in \
3737
amd64|arm64) \
3838
# arches officialy built by upstream
39-
echo "deb [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/mainline/debian/ bullseye nginx" >> /etc/apt/sources.list.d/nginx.list \
39+
echo "deb [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/mainline/debian/ bookworm nginx" >> /etc/apt/sources.list.d/nginx.list \
4040
&& apt-get update \
4141
;; \
4242
*) \
4343
# we're on an architecture upstream doesn't officially build for
4444
# let's build binaries from the published source packages
45-
echo "deb-src [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/mainline/debian/ bullseye nginx" >> /etc/apt/sources.list.d/nginx.list \
45+
echo "deb-src [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/mainline/debian/ bookworm nginx" >> /etc/apt/sources.list.d/nginx.list \
4646
\
4747
# new directory for storing sources and .deb files
4848
&& tempDir="$(mktemp -d)" \

Diff for: mainline/debian/15-local-resolvers.envsh

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ set -eu
66
LC_ALL=C
77
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
88

9-
if [ "${NGINX_ENTRYPOINT_LOCAL_RESOLVERS}" ]; then
10-
export NGINX_LOCAL_RESOLVERS=$(awk 'BEGIN{ORS=" "} $1=="nameserver" {print $2}' /etc/resolv.conf)
11-
fi
9+
[ "${NGINX_ENTRYPOINT_LOCAL_RESOLVERS:-}" ] || return 0
10+
11+
export NGINX_LOCAL_RESOLVERS=$(awk 'BEGIN{ORS=" "} $1=="nameserver" {print $2}' /etc/resolv.conf)

Diff for: mainline/debian/Dockerfile

+7-7
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
#
44
# PLEASE DO NOT EDIT IT DIRECTLY.
55
#
6-
FROM debian:bullseye-slim
6+
FROM debian:bookworm-slim
77

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

10-
ENV NGINX_VERSION 1.25.0
10+
ENV NGINX_VERSION 1.25.1
1111
ENV NJS_VERSION 0.7.12
12-
ENV PKG_RELEASE 1~bullseye
12+
ENV PKG_RELEASE 1~bookworm
1313

1414
RUN set -x \
1515
# create nginx user/group first, to be consistent throughout docker variants
16-
&& addgroup --system --gid 101 nginx \
17-
&& adduser --system --disabled-login --ingroup nginx --no-create-home --home /nonexistent --gecos "nginx user" --shell /bin/false --uid 101 nginx \
16+
&& groupadd --system --gid 101 nginx \
17+
&& useradd --system --gid nginx --no-create-home --home /nonexistent --comment "nginx user" --shell /bin/false --uid 101 nginx \
1818
&& apt-get update \
1919
&& apt-get install --no-install-recommends --no-install-suggests -y gnupg1 ca-certificates \
2020
&& \
@@ -44,13 +44,13 @@ RUN set -x \
4444
&& case "$dpkgArch" in \
4545
amd64|arm64) \
4646
# arches officialy built by upstream
47-
echo "deb [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/mainline/debian/ bullseye nginx" >> /etc/apt/sources.list.d/nginx.list \
47+
echo "deb [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/mainline/debian/ bookworm nginx" >> /etc/apt/sources.list.d/nginx.list \
4848
&& apt-get update \
4949
;; \
5050
*) \
5151
# we're on an architecture upstream doesn't officially build for
5252
# let's build binaries from the published source packages
53-
echo "deb-src [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/mainline/debian/ bullseye nginx" >> /etc/apt/sources.list.d/nginx.list \
53+
echo "deb-src [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/mainline/debian/ bookworm nginx" >> /etc/apt/sources.list.d/nginx.list \
5454
\
5555
# new directory for storing sources and .deb files
5656
&& tempDir="$(mktemp -d)" \

Diff for: stable/alpine-slim/15-local-resolvers.envsh

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ set -eu
66
LC_ALL=C
77
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
88

9-
if [ "${NGINX_ENTRYPOINT_LOCAL_RESOLVERS}" ]; then
10-
export NGINX_LOCAL_RESOLVERS=$(awk 'BEGIN{ORS=" "} $1=="nameserver" {print $2}' /etc/resolv.conf)
11-
fi
9+
[ "${NGINX_ENTRYPOINT_LOCAL_RESOLVERS:-}" ] || return 0
10+
11+
export NGINX_LOCAL_RESOLVERS=$(awk 'BEGIN{ORS=" "} $1=="nameserver" {print $2}' /etc/resolv.conf)

Diff for: stable/debian/15-local-resolvers.envsh

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ set -eu
66
LC_ALL=C
77
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
88

9-
if [ "${NGINX_ENTRYPOINT_LOCAL_RESOLVERS}" ]; then
10-
export NGINX_LOCAL_RESOLVERS=$(awk 'BEGIN{ORS=" "} $1=="nameserver" {print $2}' /etc/resolv.conf)
11-
fi
9+
[ "${NGINX_ENTRYPOINT_LOCAL_RESOLVERS:-}" ] || return 0
10+
11+
export NGINX_LOCAL_RESOLVERS=$(awk 'BEGIN{ORS=" "} $1=="nameserver" {print $2}' /etc/resolv.conf)

Diff for: stable/debian/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ ENV PKG_RELEASE 1~bullseye
1313

1414
RUN set -x \
1515
# create nginx user/group first, to be consistent throughout docker variants
16-
&& addgroup --system --gid 101 nginx \
17-
&& adduser --system --disabled-login --ingroup nginx --no-create-home --home /nonexistent --gecos "nginx user" --shell /bin/false --uid 101 nginx \
16+
&& groupadd --system --gid 101 nginx \
17+
&& useradd --system --gid nginx --no-create-home --home /nonexistent --comment "nginx user" --shell /bin/false --uid 101 nginx \
1818
&& apt-get update \
1919
&& apt-get install --no-install-recommends --no-install-suggests -y gnupg1 ca-certificates \
2020
&& \

0 commit comments

Comments
 (0)