diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a1137eeb6d..eef6b9e393 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -225,11 +225,14 @@ jobs: matrix: include: - os-name: alpine - os-version: '3.20' + os-version: '3-20' steps: - uses: actions/checkout@v4 - - name: Build rpm packages + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Build lapce-proxy binary run: | docker buildx create --driver=docker-container --use docker buildx bake --pull ${{ matrix.os-name }}-${{ matrix.os-version }} diff --git a/docker-bake.hcl b/docker-bake.hcl index 6c30496a0c..880935ebb0 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -1,5 +1,5 @@ variable "RUST_VERSION" { - default = "1.76" + default = "1" } variable "XX_VERSION" { @@ -195,6 +195,7 @@ variable "APK_FAMILY_PACKAGES" { "lld", "build-base", "rustup", + "openssl-dev", "openssl-libs-static", "libssh2-static", "libgit2-static", diff --git a/extra/linux/docker/alpine/Dockerfile b/extra/linux/docker/alpine/Dockerfile index 7817907205..f318350e27 100644 --- a/extra/linux/docker/alpine/Dockerfile +++ b/extra/linux/docker/alpine/Dockerfile @@ -13,14 +13,14 @@ SHELL [ "/bin/ash", "-c" ] # install host dependencies ARG DISTRIBUTION_PACKAGES RUN \ - --mount=type=cache,target=/var/cache/apt,sharing=private \ - --mount=type=cache,target=/var/lib/apt,sharing=private \ + --mount=type=cache,target=/var/cache/apk,sharing=private \ + --mount=type=cache,target=/etc/apk/cache,sharing=private \ <