File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
7070
7171FROM golangci/golangci-lint:${GOLANGCI_LINT_VERSION} AS golangci-lint
7272FROM 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
7474RUN --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
7979FROM gobase AS base
8080ARG 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
8383FROM base AS test
8484RUN xx-apt-get install -y dbus-x11 gnome-keyring gpg-agent gpgconf libsecret-1-dev pass
Original file line number Diff line number Diff 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
1111ARG DISTRO=ubuntu
1212ARG SUITE=jammy
You can’t perform that action at this time.
0 commit comments