diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 36ad7cac1..86247757d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -86,7 +86,7 @@ jobs: - name: Build wheel (with sdist) if: matrix.target == 'x86_64-unknown-linux-musl' run: | - cargo run -- build --release -b bin --sdist -o dist --target ${{ matrix.target }} --features password-storage --compatibility manylinux2014 musllinux_1_1 + cargo run -- build --release -b bin --sdist -o dist --target ${{ matrix.target }} --features password-storage --compatibility manylinux2010 musllinux_1_1 # ring doesn't support aarch64 windows yet - name: Build wheel (windows aarch64) @@ -161,7 +161,7 @@ jobs: platform: [ { target: "aarch64-unknown-linux-musl", image_tag: "aarch64-musl", manylinux: "2014" }, { target: "armv7-unknown-linux-musleabihf", image_tag: "armv7-musleabihf", manylinux: "2014"}, - { target: "i686-unknown-linux-musl", image_tag: "i686-musl", manylinux: "2014"}, + { target: "i686-unknown-linux-musl", image_tag: "i686-musl", manylinux: "2010"}, ] container: image: docker://messense/rust-musl-cross:${{ matrix.platform.image_tag }} diff --git a/Dockerfile b/Dockerfile index 56d7d0e2d..de9dd6981 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/pypa/manylinux2014_x86_64 as builder +FROM quay.io/pypa/manylinux2010_x86_64 as builder ENV PATH /root/.cargo/bin:$PATH @@ -24,7 +24,7 @@ RUN cargo rustc --bin maturin --manifest-path /maturin/Cargo.toml --release --fe && mv /maturin/target/release/maturin /usr/bin/maturin \ && rm -rf /maturin -FROM quay.io/pypa/manylinux2014_x86_64 +FROM quay.io/pypa/manylinux2010_x86_64 ENV PATH /root/.cargo/bin:$PATH # Add all supported python versions