This repository was archived by the owner on Aug 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ WORKDIR /
7272COPY --from=build /usr/lib/osxcross /usr/lib/osxcross
7373COPY --from=build /usr/local/bin/dmg /usr/bin
7474# Copy Entrypoint
75- COPY docker-entrypoint .sh /tmp
75+ COPY macports-configure .sh /usr/bin
7676
7777LABEL org.opencontainers.image.authors "Naev Dev Team"
7878LABEL org.opencontainers.image.source "https://github.com/naev/naev-infrastructure"
@@ -111,5 +111,3 @@ RUN microdnf --nodocs --setopt=install_weak_deps=0 -y install clang cmake gettex
111111# Set WORKDIR when you spin up the image.
112112 mkdir -p /tmp/naevBuild
113113WORKDIR /tmp/naevBuild
114- ENTRYPOINT ["/tmp/docker-entrypoint.sh" ]
115- CMD ["bash" ]
Original file line number Diff line number Diff line change 88if [[ " $BUILDARCH " == " aarch64" ]] then
99 export HOST=" aarch64-apple-darwin23"
1010 export MACOSX_DEPLOYMENT_TARGET=" $AARCH64_DEPLOYMENT_TARGET "
11- mv /usr/lib/osxcross/macports.aarch64 /usr/lib/osxcross/macports
11+ rm -f /usr/lib/osxcross/macports
12+ ln -s /usr/lib/osxcross/macports.aarch64 /usr/lib/osxcross/macports
1213elif [[ " $BUILDARCH " == " x86_64" ]] then
1314 export HOST=" x86_64-apple-darwin23"
1415 export MACOSX_DEPLOYMENT_TARGET=" $X86_64_DEPLOYMENT_TARGET "
15- mv /usr/lib/osxcross/macports.x86_64 /usr/lib/osxcross/macports
16+ rm -f /usr/lib/osxcross/macports
17+ ln -s /usr/lib/osxcross/macports.x86_64 /usr/lib/osxcross/macports
1618# Fallback
1719else
1820 export HOST=" x86_64-apple-darwin23"
1921 export MACOSX_DEPLOYMENT_TARGET=" $X86_64_DEPLOYMENT_TARGET "
20- mv /usr/lib/osxcross/macports.x86_64 /usr/lib/osxcross/macports
22+ rm -f /usr/lib/osxcross/macports
23+ ln -s /usr/lib/osxcross/macports.x86_64 /usr/lib/osxcross/macports
2124fi
22-
23- exec " $@ "
You can’t perform that action at this time.
0 commit comments