root: upgrade debian base images to debian 12

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Marc 'risson' Schmitt 2023-08-23 17:07:50 +02:00 committed by risson
parent 2e35899a6e
commit f0c3323cf1
4 changed files with 6 additions and 6 deletions

View File

@ -20,7 +20,7 @@ WORKDIR /work/web
RUN npm ci --include=dev && npm run build
# Stage 3: Poetry to requirements.txt export
FROM docker.io/python:3.11.4-slim-bullseye AS poetry-locker
FROM docker.io/python:3.11.4-slim-bookworm AS poetry-locker
WORKDIR /work
COPY ./pyproject.toml /work
@ -31,7 +31,7 @@ RUN pip install --no-cache-dir poetry && \
poetry export -f requirements.txt --dev --output requirements-dev.txt
# Stage 4: Build go proxy
FROM docker.io/golang:1.21.0-bullseye AS go-builder
FROM docker.io/golang:1.21.0-bookworm AS go-builder
WORKDIR /work
@ -61,7 +61,7 @@ RUN --mount=type=secret,id=GEOIPUPDATE_ACCOUNT_ID \
/bin/sh -c "/usr/bin/entry.sh || echo 'Failed to get GeoIP database, disabling'; exit 0"
# Stage 6: Run
FROM docker.io/python:3.11.4-slim-bullseye AS final-image
FROM docker.io/python:3.11.4-slim-bookworm AS final-image
ARG GIT_BUILD_HASH
ARG VERSION

View File

@ -1,5 +1,5 @@
# Stage 1: Build
FROM docker.io/golang:1.21.0-bullseye AS builder
FROM docker.io/golang:1.21.0-bookworm AS builder
WORKDIR /go/src/goauthentik.io

View File

@ -8,7 +8,7 @@ WORKDIR /static
RUN npm ci --include=dev && npm run build-proxy
# Stage 2: Build
FROM docker.io/golang:1.21.0-bullseye AS builder
FROM docker.io/golang:1.21.0-bookworm AS builder
WORKDIR /go/src/goauthentik.io

View File

@ -1,5 +1,5 @@
# Stage 1: Build
FROM docker.io/golang:1.21.0-bullseye AS builder
FROM docker.io/golang:1.21.0-bookworm AS builder
WORKDIR /go/src/goauthentik.io