We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94d0f6e commit af2d65bCopy full SHA for af2d65b
Dockerfile
@@ -203,7 +203,7 @@ VOLUME /var/lib/buildkit
203
FROM gobuild-base AS containerd-build
204
WORKDIR /go/src/github.com/containerd/containerd
205
ARG TARGETPLATFORM
206
-ENV CGO_ENABLED=1 BUILDTAGS=no_btrfs GO111MODULE=off
+ENV CGO_ENABLED=1 CGO_LDFLAGS="-fuse-ld=lld" BUILDTAGS=no_btrfs GO111MODULE=off
207
RUN xx-apk add musl-dev gcc && xx-go --wrap
208
COPY --chmod=755 <<-EOT /build.sh
209
#!/bin/sh
0 commit comments