1
0
mirror of https://github.com/docker/docs.git synced 2026-10-23 18:09:02 +03:00

Merge pull request #26050 from vvoland/update-distros

Replace Debian Bullseye images in examples
This commit is contained in:
Paweł Gronowski
2026-09-16 17:35:29 +02:00
committed by GitHub
3 changed files with 8 additions and 8 deletions

View File

@@ -506,7 +506,7 @@ FROM build-stage AS run-test-stage
RUN go test -v ./...
# Deploy the application binary into a lean image
FROM gcr.io/distroless/base-debian11 AS build-release-stage
FROM gcr.io/distroless/base-debian12 AS build-release-stage
WORKDIR /
@@ -1501,7 +1501,7 @@ FROM build-stage AS run-test-stage
RUN go test -v ./...
# Deploy the application binary into a lean image
FROM gcr.io/distroless/base-debian11 AS build-release-stage
FROM gcr.io/distroless/base-debian12 AS build-release-stage
WORKDIR /

View File

@@ -589,7 +589,7 @@ For the sample application, you'll use a variation of the backend from the react
ARG RUST_VERSION=1.70.0
ARG APP_NAME=react-rust-postgres
FROM rust:${RUST_VERSION}-slim-bullseye AS build
FROM rust:${RUST_VERSION}-slim-bookworm AS build
ARG APP_NAME
WORKDIR /app
@@ -618,12 +618,12 @@ For the sample application, you'll use a variation of the backend from the react
# image from the build stage where the necessary files are copied from the build
# stage.
#
# The example below uses the debian bullseye image as the foundation for running the app.
# By specifying the "bullseye-slim" tag, it will also use whatever happens to be the
# The example below uses the Debian Bookworm image as the foundation for running the app.
# By specifying the "bookworm-slim" tag, it will also use whatever happens to be the
# most recent version of that tag when you build your Dockerfile. If
# reproducibility is important, consider using a digest
# (e.g., debian@sha256:ac707220fbd7b67fc19b112cee8170b41a9e97f703f588b2cdbbcdcecdd8af57).
FROM debian:bullseye-slim AS final
# (e.g., debian@sha256:88200866dfff7ea7f5cbcb6ec7c8a701889efe6fe859fe64d6990e4b07ea4171).
FROM debian:bookworm-slim AS final
# Create a non-privileged user that the app will run under.
# See https://docs.docker.com/develop/develop-images/dockerfile_best-practices/ #user

View File

@@ -145,7 +145,7 @@ codename for Ubuntu 24.04 is "Noble Numbat".
Linux distribution indicators are helpful because many Docker Official Images
provide variants built upon multiple underlying distribution versions (for
example, `postgres:bookworm` and `postgres:bullseye`).
example, `postgres:bookworm` and `postgres:trixie`).
### Other tags