Skip to content

Commit df2a797

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 52d05fe commit df2a797

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

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

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

0 commit comments

Comments
 (0)