Skip to content

Commit 3271cc7

Browse files
committed
Dockerfile: install libgcc instead of gcc
The comment describes we need gcc for libgcc only, so we may as well install that. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 4b596df commit 3271cc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ WORKDIR /go/src/github.com/docker/cli
3737
FROM build-base-alpine AS build-alpine
3838
ARG TARGETPLATFORM
3939
# gcc is installed for libgcc only
40-
RUN xx-apk add --no-cache musl-dev gcc
40+
RUN xx-apk add --no-cache musl-dev libgcc
4141

4242
FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-${BASE_DEBIAN_DISTRO} AS build-base-debian
4343
ENV GOTOOLCHAIN=local

0 commit comments

Comments
 (0)