Skip to content

Commit 361f071

Browse files
committed
update to manylinux_2_28 (Alma Linux 8)
1 parent e1b9491 commit 361f071

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
include:
16-
- manylinux_base: manylinux2014
16+
- manylinux_base: manylinux_2_28
1717
rust_version: 1.83.0
1818
platform: x86_64
1919
steps:
@@ -37,6 +37,7 @@ jobs:
3737
build-args: |
3838
MANYLINUX_BASE=${{ matrix.manylinux_base }}
3939
RUST_VERSION=${{ matrix.rust_version }}
40+
NTL_VERSION=${{ matrix.ntl_version }}
4041
PLATFORM=${{ matrix.platform }}
4142
- name: Image digest
4243
run: echo ${{ steps.docker_build.outputs.digest }}

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,12 @@ ARG PLATFORM
88
RUN echo manylinux: $MANYLINUX_BASE
99
RUN echo rust: $RUST_VERSION
1010
RUN echo platform: $PLATFORM
11-
RUN yum -y install centos-release-scl
12-
RUN yum -y install llvm-toolset-7.0
11+
RUN dnf -y install clang llvm
1312
RUN cd /root \
1413
&& echo https://static.rust-lang.org/dist/rust-$RUST_VERSION-$PLATFORM-unknown-linux-gnu.tar.gz \
1514
&& curl -O https://static.rust-lang.org/dist/rust-$RUST_VERSION-$PLATFORM-unknown-linux-gnu.tar.gz \
1615
&& tar xzf rust-$RUST_VERSION-$PLATFORM-unknown-linux-gnu.tar.gz \
1716
&& rust-$RUST_VERSION-$PLATFORM-unknown-linux-gnu/install.sh --components=rustc,cargo,rust-std-$PLATFORM-unknown-linux-gnu \
1817
&& rm -rf rust-$RUST_VERSION-$PLATFORM-unknown-linux-gnu \
1918
&& rm -rf rust-$RUST_VERSION-$PLATFORM-unknown-linux-gnu.tar.gz
20-
ENTRYPOINT ["manylinux-entrypoint", "scl", "enable", "llvm-toolset-7.0"]
21-
2219

0 commit comments

Comments
 (0)