From f0c3323cf1e9bbf690bf94317147be1ad1ce183c Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Wed, 23 Aug 2023 17:07:50 +0200 Subject: [PATCH] root: upgrade debian base images to debian 12 Signed-off-by: Marc 'risson' Schmitt --- Dockerfile | 6 +++--- ldap.Dockerfile | 2 +- proxy.Dockerfile | 2 +- radius.Dockerfile | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 278607aa7..2176bde8a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/ldap.Dockerfile b/ldap.Dockerfile index 8fb9002b1..2bd4dc2c6 100644 --- a/ldap.Dockerfile +++ b/ldap.Dockerfile @@ -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 diff --git a/proxy.Dockerfile b/proxy.Dockerfile index 863f920ad..3043031f9 100644 --- a/proxy.Dockerfile +++ b/proxy.Dockerfile @@ -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 diff --git a/radius.Dockerfile b/radius.Dockerfile index fa58efd30..23c6b548a 100644 --- a/radius.Dockerfile +++ b/radius.Dockerfile @@ -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