mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-21 11:56:38 +00:00
GNU to MUSL modify Dockerfile
This commit is contained in:
+2
-2
@@ -15,9 +15,9 @@ WORKDIR /build
|
|||||||
|
|
||||||
# Set architecture-specific variables
|
# Set architecture-specific variables
|
||||||
RUN if [ "$TARGETARCH" = "amd64" ]; then \
|
RUN if [ "$TARGETARCH" = "amd64" ]; then \
|
||||||
echo "x86_64-gnu" > /tmp/arch; \
|
echo "x86_64-musl" > /tmp/arch; \
|
||||||
elif [ "$TARGETARCH" = "arm64" ]; then \
|
elif [ "$TARGETARCH" = "arm64" ]; then \
|
||||||
echo "aarch64-gnu" > /tmp/arch; \
|
echo "aarch64-musl" > /tmp/arch; \
|
||||||
else \
|
else \
|
||||||
echo "unsupported" > /tmp/arch; \
|
echo "unsupported" > /tmp/arch; \
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user