mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 09:40:32 +00:00
GNU to MUSL modify Dockerfile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user