Skip to content

Commit 0e3177b

Browse files
committed
Dockerfile: drop libgcc version suffix
Drop the explicit version suffix, and just install what's default to allow switching Debian distro versions Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 3f3bec4 commit 0e3177b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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-12-dev libsecret-1-dev pkg-config
73+
RUN apt-get install -y binutils gcc libc6-dev libgcc-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-12-dev libsecret-1-dev pkg-config
81+
RUN xx-apt-get install -y binutils gcc libc6-dev libgcc-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

0 commit comments

Comments
 (0)