Workaround for swoole with alpine 3.21

This commit is contained in:
crazywhalecc
2025-07-10 20:10:54 +08:00
parent dd72b32559
commit ec153fa6ff
2 changed files with 10 additions and 10 deletions

View File

@@ -53,9 +53,9 @@ aarch64|arm64)
exit 1
;;
esac
# if ALPINE_FROM is not set, use alpine:edge
# if ALPINE_FROM is not set, use alpine:3.21
if [ -z "$ALPINE_FROM" ]; then
ALPINE_FROM=alpine:edge
ALPINE_FROM=alpine:3.21
fi
if [ "$SPC_USE_ARCH" != "$CURRENT_ARCH" ]; then
echo "* Using different arch needs to setup qemu-static for docker !"
@@ -64,7 +64,7 @@ if [ "$SPC_USE_ARCH" != "$CURRENT_ARCH" ]; then
$DOCKER_EXECUTABLE run --rm --privileged multiarch/qemu-user-static:register --reset > /dev/null
fi
else
ALPINE_FROM=alpine:edge
ALPINE_FROM=alpine:3.21
fi
if [ "$SPC_USE_MIRROR" = "yes" ]; then