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.
2 parents 50ba960 + 28c294f commit e69fcc5Copy full SHA for e69fcc5
1 file changed
Dockerfile
@@ -53,6 +53,10 @@ RUN --mount=type=bind,from=osxcross,src=/osxsdk,target=/xx-sdk \
53
set -ex
54
if [ "$TARGETOS" != "darwin" ]; then
55
export XX_GO_PREFER_C_COMPILER=zig
56
+ else
57
+ # clang 21 (alpine 3.23) rejects xx's default "10.16" Big Sur alias with
58
+ # -Werror,-Woverriding-deployment-version when targeting arm64.
59
+ export MACOSX_VERSION_MIN=11.0
60
fi
61
xx-go build -trimpath -tags no_audio -ldflags "-s -w -linkmode=external -X 'github.com/docker/docker-agent/pkg/version.Version=$GIT_TAG' -X 'github.com/docker/docker-agent/pkg/version.Commit=$GIT_COMMIT'" -o /binaries/docker-agent-$TARGETOS-$TARGETARCH .
62
xx-verify --static /binaries/docker-agent-$TARGETOS-$TARGETARCH
0 commit comments