Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "[Ray backport version 2.32] [ci] upgrade manylinux image (#46361)" #19

Open
wants to merge 1 commit into
base: pinterest/main-2.10.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 2 additions & 18 deletions ci/docker/manylinux.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1.3-labs

ARG HOSTTYPE
FROM quay.io/pypa/manylinux2014_${HOSTTYPE}:2024-07-01-8dac23b
FROM quay.io/pypa/manylinux2014_${HOSTTYPE}:2023-11-13-f6b0c51

ARG BUILDKITE_BAZEL_CACHE_URL

Expand All @@ -10,20 +10,4 @@ ENV RAY_INSTALL_JAVA=1
ENV BUILDKITE_BAZEL_CACHE_URL=$BUILDKITE_BAZEL_CACHE_URL

COPY ci/build/build-manylinux-forge.sh /tmp/build-manylinux-forge.sh

RUN <<EOF
#!/bin/bash

# Centos 7 is EOL and is no longer available from the usual mirrors, so switch
# to https://vault.centos.org
sed -i 's/enabled=1/enabled=0/g' /etc/yum/pluginconf.d/fastestmirror.conf
sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/*.repo
sed -i 's;^.*baseurl=http://mirror;baseurl=https://vault;g' /etc/yum.repos.d/*.repo
if [ "${HOSTTYPE}" == "aarch64" ]; then
sed -i 's;/centos/7/;/altarch/7/;g' /etc/yum.repos.d/*.repo
fi

./tmp/build-manylinux-forge.sh

EOF

RUN /tmp/build-manylinux-forge.sh
2 changes: 1 addition & 1 deletion ci/docker/manylinux.aarch64.wanda.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "manylinux-aarch64"
froms:
- quay.io/pypa/manylinux2014_aarch64:2024-07-01-8dac23b
- quay.io/pypa/manylinux2014_aarch64:2023-11-13-f6b0c51
srcs:
- ci/build/build-manylinux-forge.sh
build_args:
Expand Down
2 changes: 1 addition & 1 deletion ci/docker/manylinux.wanda.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "manylinux"
froms:
- quay.io/pypa/manylinux2014_x86_64:2024-07-01-8dac23b
- quay.io/pypa/manylinux2014_x86_64:2023-11-13-f6b0c51
srcs:
- ci/build/build-manylinux-forge.sh
build_args:
Expand Down
Loading