Skip to content

Commit 901154a

Browse files
committed
compose: update osxcross to 15.5
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 parent e552606 commit 901154a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/compose/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ FROM scratch AS scripts
4040
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
4141

4242
# osxcross contains the MacOSX SDK for xx
43-
FROM dockercore/golang-cross:xx-sdk-extras AS osxsdk
43+
FROM crazymax/osxcross:15.5-alpine AS osxcross
4444

4545
# go base image to retrieve /usr/local/go
4646
FROM ${GO_IMAGE}:${GO_VERSION}-${GO_IMAGE_VARIANT} AS go
@@ -217,7 +217,7 @@ RUN --mount=type=bind,source=scripts/pkg-static-build.sh,target=/usr/local/bin/p
217217
--mount=type=bind,from=scripts,source=fix-cc.sh,target=/usr/local/bin/fix-cc \
218218
--mount=type=bind,from=src,source=/src,target=/usr/local/src/compose \
219219
--mount=type=bind,from=gocross,source=/usr/local/go,target=/usr/local/go,rw \
220-
--mount=from=osxsdk,target=/xx-sdk,src=/xx-sdk \
220+
--mount=type=bind,from=osxcross,src=/osxsdk,target=/xx-sdk \
221221
OUTDIR=/out BUILDDIR=/build SRCDIR=/usr/local/src/compose pkg-static-build
222222

223223
FROM builder-static-$TARGETOS AS builder-static

0 commit comments

Comments
 (0)