Skip to content

Commit abc9db0

Browse files
lucacomethresheek
authored andcommitted
Update mainline base image to Debian Bullseye
1 parent d496baf commit abc9db0

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

mainline/debian-perl/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
#
44
# PLEASE DO NOT EDIT IT DIRECTLY.
55
#
6-
FROM debian:buster-slim
6+
FROM debian:bullseye-slim
77

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

1010
ENV NGINX_VERSION 1.21.3
1111
ENV NJS_VERSION 0.6.2
12-
ENV PKG_RELEASE 1~buster
12+
ENV PKG_RELEASE 1~bullseye
1313

1414
RUN set -x \
1515
# create nginx user/group first, to be consistent throughout docker variants
@@ -43,13 +43,13 @@ RUN set -x \
4343
&& case "$dpkgArch" in \
4444
amd64|i386|arm64) \
4545
# arches officialy built by upstream
46-
echo "deb https://nginx.org/packages/mainline/debian/ buster nginx" >> /etc/apt/sources.list.d/nginx.list \
46+
echo "deb https://nginx.org/packages/mainline/debian/ bullseye nginx" >> /etc/apt/sources.list.d/nginx.list \
4747
&& apt-get update \
4848
;; \
4949
*) \
5050
# we're on an architecture upstream doesn't officially build for
5151
# let's build binaries from the published source packages
52-
echo "deb-src https://nginx.org/packages/mainline/debian/ buster nginx" >> /etc/apt/sources.list.d/nginx.list \
52+
echo "deb-src https://nginx.org/packages/mainline/debian/ bullseye nginx" >> /etc/apt/sources.list.d/nginx.list \
5353
\
5454
# new directory for storing sources and .deb files
5555
&& tempDir="$(mktemp -d)" \

mainline/debian/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
#
44
# PLEASE DO NOT EDIT IT DIRECTLY.
55
#
6-
FROM debian:buster-slim
6+
FROM debian:bullseye-slim
77

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

1010
ENV NGINX_VERSION 1.21.3
1111
ENV NJS_VERSION 0.6.2
12-
ENV PKG_RELEASE 1~buster
12+
ENV PKG_RELEASE 1~bullseye
1313

1414
RUN set -x \
1515
# create nginx user/group first, to be consistent throughout docker variants
@@ -42,13 +42,13 @@ RUN set -x \
4242
&& case "$dpkgArch" in \
4343
amd64|i386|arm64) \
4444
# arches officialy built by upstream
45-
echo "deb https://nginx.org/packages/mainline/debian/ buster nginx" >> /etc/apt/sources.list.d/nginx.list \
45+
echo "deb https://nginx.org/packages/mainline/debian/ bullseye nginx" >> /etc/apt/sources.list.d/nginx.list \
4646
&& apt-get update \
4747
;; \
4848
*) \
4949
# we're on an architecture upstream doesn't officially build for
5050
# let's build binaries from the published source packages
51-
echo "deb-src https://nginx.org/packages/mainline/debian/ buster nginx" >> /etc/apt/sources.list.d/nginx.list \
51+
echo "deb-src https://nginx.org/packages/mainline/debian/ bullseye nginx" >> /etc/apt/sources.list.d/nginx.list \
5252
\
5353
# new directory for storing sources and .deb files
5454
&& tempDir="$(mktemp -d)" \

update.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ declare -A pkg=(
2424
# [stable]=2
2525
)
2626

27-
defaultdebian='buster'
27+
defaultdebian='bullseye'
2828
declare -A debian=(
29-
#[stable]='stretch'
29+
[stable]='buster'
3030
)
3131

3232
defaultalpine='3.14'

0 commit comments

Comments
 (0)