Skip to content

Commit d4c4307

Browse files
pytorchbotatalman
andauthored
Fix docker build issue after 164575 (pytorch#164779)
Fix docker build issue after 164575 (pytorch#164774) Looks like pytorch#164575 introduced an issue. The command is wrong: ``` conda install -c "whl/nightly" -y python=3.11 conda=25.7.0 ``` Should be just using default conda channel: ``` conda install -y python=3.11 conda=25.7.0 ``` Pull Request resolved: pytorch#164774 Approved by: https://github.com/Camyll (cherry picked from commit c1f40d3) Co-authored-by: atalman <[email protected]>
1 parent 3b57315 commit d4c4307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ARG CUDA_PATH=cu121
5353
ARG INSTALL_CHANNEL=whl/nightly
5454
# Automatically set by buildx
5555
# pinning version of conda here see: https://github.com/pytorch/pytorch/issues/164574
56-
RUN /opt/conda/bin/conda install -c "${INSTALL_CHANNEL}" -y python=${PYTHON_VERSION} conda=25.7.0
56+
RUN /opt/conda/bin/conda install -y python=${PYTHON_VERSION} conda=25.7.0
5757

5858
ARG TARGETPLATFORM
5959

0 commit comments

Comments
 (0)