From f9159afc6835aad284ea1537583d2b5914f88596 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Fei?= Date: Tue, 20 Aug 2024 13:30:07 +0200 Subject: [PATCH] feat: update debian base image to bookworm (#51) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Niccolò Fei --- .github/workflows/update.yml | 2 +- Dockerfile.template | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 96b0d46..d38cedd 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -37,7 +37,7 @@ jobs: - name: Get latest Debian base image run: | - DEBIAN_VERSION=$(curl -SsL "https://registry.hub.docker.com/v2/repositories/library/debian/tags/?name=buster-20&ordering=last_updated&" | jq -r ".results[].name | match(\"buster.*-slim\") | .string" | head -n1) + DEBIAN_VERSION=$(curl -SsL "https://registry.hub.docker.com/v2/repositories/library/debian/tags/?name=bookworm-20&ordering=last_updated" | jq -r ".results[].name | match(\"bookworm.*-slim\") | .string" | head -n1) if [ -z "$DEBIAN_VERSION" ] then echo "Debian slim latest tag could not be retrieved" diff --git a/Dockerfile.template b/Dockerfile.template index 868ecd7..88817a3 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -37,6 +37,7 @@ RUN curl -sL http://www.pgbouncer.org/downloads/files/${PGBOUNCER_VERSION}/pgbo FROM debian:${DEBIAN_VERSION} +ARG DEBIAN_VERSION ARG PGBOUNCER_VERSION ARG TARGETARCH