fix(docker): replace musl.cc (#1996)

This commit is contained in:
Aaron Chen
2025-08-04 16:16:53 +08:00
committed by GitHub
parent de2651b041
commit 71ee9562dc
2 changed files with 2 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ on:
push:
tags:
- v*
workflow_dispatch:
jobs:
build-docker-image:

View File

@@ -27,7 +27,7 @@ RUN case "$TARGETARCH" in \
exit 1 \
;; \
esac \
&& wget -qO- "https://musl.cc/$MUSL-cross.tgz" | tar -xzC /root/ \
&& wget -qO- "https://github.com/AaronChen0/musl-cc-mirror/releases/download/2021-09-23/$MUSL-cross.tgz" | tar -xzC /root/ \
&& PATH="/root/$MUSL-cross/bin:$PATH" \
&& CC=/root/$MUSL-cross/bin/$MUSL-gcc \
&& echo "CC=$CC" \