Skip to content

Commit f1f2eda

Browse files
authored
ci: use pypa/manylinux image instead of vanilla centos (#470)
1 parent 9bafbd4 commit f1f2eda

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,8 @@ jobs:
101101
- name: Start CentOS container and install toolchain
102102
if: runner.os == 'Linux' && matrix.arch == 'x64'
103103
run: |
104-
docker run -d --name centos --entrypoint tail -v $PWD:$PWD -v $VCPKG_INSTALLATION_ROOT:$VCPKG_INSTALLATION_ROOT centos:7 -f /dev/null
105-
docker exec centos sh -c "yum install -y centos-release-scl epel-release && \
106-
yum install -y devtoolset-7 rh-git227 httpd24-curl flex bison perl-Data-Dumper perl-IPC-Cmd && \
104+
docker run -d --name centos --entrypoint tail -v $PWD:$PWD -v $VCPKG_INSTALLATION_ROOT:$VCPKG_INSTALLATION_ROOT quay.io/pypa/manylinux2014_x86_64 -f /dev/null
105+
docker exec centos sh -c "yum install -y devtoolset-7 rh-git227 httpd24-curl flex bison perl-Data-Dumper perl-IPC-Cmd && \
107106
curl -fsSL -o /tmp/cmake.sh https://github.com/Kitware/CMake/releases/download/v${{ steps.cmake-info.outputs.version }}/cmake-${{ steps.cmake-info.outputs.version }}-linux-x86_64.sh && \
108107
sh /tmp/cmake.sh --skip-license --prefix=/usr/local && \
109108
rm /tmp/cmake.sh"

0 commit comments

Comments
 (0)