Skip to content

Commit f9159af

Browse files
authoredAug 20, 2024
feat: update debian base image to bookworm (#51)
Signed-off-by: Niccolò Fei <[email protected]>
1 parent 305e48b commit f9159af

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎.github/workflows/update.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
-
3838
name: Get latest Debian base image
3939
run: |
40-
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)
40+
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)
4141
if [ -z "$DEBIAN_VERSION" ]
4242
then
4343
echo "Debian slim latest tag could not be retrieved"

‎Dockerfile.template

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ RUN curl -sL http://www.pgbouncer.org/downloads/files/${PGBOUNCER_VERSION}/pgbo
3737

3838

3939
FROM debian:${DEBIAN_VERSION}
40+
ARG DEBIAN_VERSION
4041
ARG PGBOUNCER_VERSION
4142
ARG TARGETARCH
4243

0 commit comments

Comments
 (0)
Please sign in to comment.