GNU to MUSL modify Dockerfile

This commit is contained in:
loverustfs
2025-07-24 16:36:15 +08:00
committed by GitHub
parent 021abc0398
commit 371119f733

View File

@@ -15,9 +15,9 @@ WORKDIR /build
# Set architecture-specific variables
RUN if [ "$TARGETARCH" = "amd64" ]; then \
echo "x86_64-gnu" > /tmp/arch; \
echo "x86_64-musl" > /tmp/arch; \
elif [ "$TARGETARCH" = "arm64" ]; then \
echo "aarch64-gnu" > /tmp/arch; \
echo "aarch64-musl" > /tmp/arch; \
else \
echo "unsupported" > /tmp/arch; \
fi