Skip to content

Commit 30d7f0b

Browse files
atalmanpytorchmergebot
authored andcommitted
Remove wget call to builder install_cuda.sh (pytorch#132410)
This file ``install_cuda.sh`` now lives in ``.ci/docker/common`` and will be removed from builder repo. Here is PR that removes it from builder: pytorch/builder#1949 Pull Request resolved: pytorch#132410 Approved by: https://github.com/Skylion007
1 parent c99adce commit 30d7f0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.ci/docker/linter-cuda/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ RUN bash ./install_conda.sh && rm install_conda.sh common_utils.sh /opt/conda/re
2929

3030
# Install cuda and cudnn
3131
ARG CUDA_VERSION
32-
RUN wget -q https://raw.githubusercontent.com/pytorch/builder/main/common/install_cuda.sh -O install_cuda.sh
32+
COPY ./common/install_cuda.sh install_cuda.sh
3333
RUN bash ./install_cuda.sh ${CUDA_VERSION} && rm install_cuda.sh
3434
ENV DESIRED_CUDA ${CUDA_VERSION}
3535
ENV PATH /usr/local/nvidia/bin:/usr/local/cuda/bin:$PATH

.ci/docker/ubuntu/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ RUN bash ./install_lcov.sh && rm install_lcov.sh
5050

5151
# Install cuda and cudnn
5252
ARG CUDA_VERSION
53-
RUN wget -q https://raw.githubusercontent.com/pytorch/builder/main/common/install_cuda.sh -O install_cuda.sh
53+
COPY ./common/install_cuda.sh install_cuda.sh
5454
RUN bash ./install_cuda.sh ${CUDA_VERSION} && rm install_cuda.sh
5555
ENV DESIRED_CUDA ${CUDA_VERSION}
5656
ENV PATH /usr/local/nvidia/bin:/usr/local/cuda/bin:$PATH

0 commit comments

Comments
 (0)