Skip to content

Commit 5441c6c

Browse files
committed
Dockerfile: update to debian trixie, libgcc-12-dev
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 5975365 commit 5441c6c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARG GO_VERSION=1.25.7
66

77
# BASE_DEBIAN_DISTRO sets the golang base image debian variant to use.
88
# It must be a valid variant in the docker.io/library/golang image repository.
9-
ARG BASE_DEBIAN_DISTRO=bookworm
9+
ARG BASE_DEBIAN_DISTRO=trixie
1010

1111
# XX_VERSION sets the version of the xx utility to use.
1212
# It must be a valid tag in the docker.io/tonistiigi/xx image repository.
@@ -70,15 +70,15 @@ EOT
7070

7171
FROM golangci/golangci-lint:${GOLANGCI_LINT_VERSION} AS golangci-lint
7272
FROM gobase AS lint
73-
RUN apt-get install -y binutils gcc libc6-dev libgcc-11-dev libsecret-1-dev pkg-config
73+
RUN apt-get install -y binutils gcc libc6-dev libgcc-12-dev libsecret-1-dev pkg-config
7474
RUN --mount=type=bind,target=. \
7575
--mount=type=cache,target=/root/.cache \
7676
--mount=from=golangci-lint,source=/usr/bin/golangci-lint,target=/usr/bin/golangci-lint \
7777
golangci-lint run ./...
7878

7979
FROM gobase AS base
8080
ARG TARGETPLATFORM
81-
RUN xx-apt-get install -y binutils gcc libc6-dev libgcc-11-dev libsecret-1-dev pkg-config
81+
RUN xx-apt-get install -y binutils gcc libc6-dev libgcc-12-dev libsecret-1-dev pkg-config
8282

8383
FROM base AS test
8484
RUN xx-apt-get install -y dbus-x11 gnome-keyring gpg-agent gpgconf libsecret-1-dev pass

deb/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARG GO_VERSION=1.25.7
66

77
# BASE_DEBIAN_DISTRO sets the golang base image debian variant to use.
88
# It must be a valid variant in the docker.io/library/golang image repository.
9-
ARG BASE_DEBIAN_DISTRO=bookworm
9+
ARG BASE_DEBIAN_DISTRO=trixie
1010

1111
ARG DISTRO=ubuntu
1212
ARG SUITE=jammy

0 commit comments

Comments
 (0)