mirror of https://github.com/docker/cli.git
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 <github@gone.nl>
This commit is contained in:
parent
0b68511f52
commit
25b5c27833
|
@ -22,7 +22,7 @@ WORKDIR /go/src/github.com/docker/cli
|
|||
FROM build-base-alpine AS build-alpine
|
||||
ARG TARGETPLATFORM
|
||||
# gcc is installed for libgcc only
|
||||
RUN xx-apk add --no-cache musl-dev gcc
|
||||
RUN xx-apk add --no-cache musl-dev libgcc
|
||||
|
||||
FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-${BASE_DEBIAN_DISTRO} AS build-base-debian
|
||||
ENV GOTOOLCHAIN=local
|
||||
|
|
Loading…
Reference in New Issue