Skip to content

Commit c86383f

Browse files
atalmanpytorchmergebot
authored andcommitted
[BE] Revert "Add conda to Manylinux Docker images (pytorch#139903)" (pytorch#143300)
This reverts commit 56a40d4. Having conda in manylinux builder images is not required. This was added to have manylinux-builder images as the only images for CD builds after conda-builder is deprecated. However we decided to start using ``almalinux-builder``. We are using almalinux-builder for linux_job_v2 which contains conda: https://github.com/pytorch/test-infra/blob/main/.github/workflows/linux_job_v2.yml#L114 Pull Request resolved: pytorch#143300 Approved by: https://github.com/seemethere
1 parent 4e594f4 commit c86383f

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

.ci/docker/manywheel/Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,6 @@ COPY --from=libpng /usr/local/lib/pkgconfig /usr/local/
144144
FROM common as cpu_final
145145
ARG BASE_CUDA_VERSION=10.1
146146
ARG DEVTOOLSET_VERSION=9
147-
# Install Anaconda
148-
ADD ./common/install_conda_docker.sh install_conda.sh
149-
RUN bash ./install_conda.sh && rm install_conda.sh
150-
ENV PATH /opt/conda/bin:$PATH
151147
RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
152148
RUN sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
153149
RUN sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo

.ci/docker/manywheel/Dockerfile_2_28

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ ARG DEVTOOLSET_VERSION=11
119119
# Install Anaconda
120120
ADD ./common/install_conda_docker.sh install_conda.sh
121121
RUN bash ./install_conda.sh && rm install_conda.sh
122-
ENV PATH /opt/conda/bin:$PATH
123122
# Ensure the expected devtoolset is used
124123
ENV PATH=/opt/rh/gcc-toolset-${DEVTOOLSET_VERSION}/root/usr/bin:$PATH
125124
ENV LD_LIBRARY_PATH=/opt/rh/gcc-toolset-${DEVTOOLSET_VERSION}/root/usr/lib64:/opt/rh/gcc-toolset-${DEVTOOLSET_VERSION}/root/usr/lib:$LD_LIBRARY_PATH

0 commit comments

Comments
 (0)