diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c4a4f27248..0e81f99d7ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -217,7 +217,7 @@ jobs: - name: test run: python check.py --binaryen-bin=out/bin - # Build with gcc 6.3 and run tests on Alpine Linux (inside chroot). + # Build with gcc and run tests on Alpine Linux (inside docker container). # Note: Alpine uses musl libc. # Keep in sync with build_release.yml build-alpine: @@ -232,7 +232,7 @@ jobs: submodules: true - name: start docker run: | - docker run -w /src -dit --platform=linux/arm64 --name alpine -v $PWD:/src node:lts-alpine + docker run -w /src -dit --platform=linux/arm64 --name alpine -v $PWD:/src alpine:3.21 echo 'docker exec alpine "$@";' > ./alpine.sh chmod +x ./alpine.sh diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index f6b8f7802ad..92b59487671 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -101,7 +101,7 @@ jobs: ${{ steps.archive-arm64.outputs.TARBALL }} ${{ steps.archive-arm64.outputs.SHASUM }} - # Build with gcc 6.3 and run tests on Alpine Linux (inside chroot). + # Build with gcc and run tests on Alpine Linux (inside docker container). # Note: Alpine uses musl libc. build-alpine: name: alpine @@ -122,7 +122,7 @@ jobs: if [[ "${{ matrix.docker_platform }}" == "ubuntu-24.04-arm" ]]; then platform="--platform=linux/arm64" fi - docker run -w /src -dit $platform --name alpine -v $PWD:/src node:lts-alpine + docker run -w /src -dit $platform --name alpine -v $PWD:/src alpine:3.21 echo 'docker exec alpine "$@";' > ./alpine.sh chmod +x ./alpine.sh