From f2533d3084b6af933f60575a32d31e0ecf3f7174 Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Thu, 21 Jul 2022 20:52:17 -0700 Subject: [PATCH] Remove two lines in the Dockerfile for Github Codespace (#12278) We are not allowed to use "--extra-index-url" anywhere in our code --- .devcontainer/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index a5111163ed7d4..19333b6423c38 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -34,6 +34,4 @@ RUN apt-get update \ && apt-get install -y --no-install-recommends aria2 aria2 && aria2c -q -d /tmp -o cmake-3.21.0-linux-x86_64.tar.gz https://github.com/Kitware/CMake/releases/download/v3.21.0/cmake-3.21.0-linux-x86_64.tar.gz && tar -zxf /tmp/cmake-3.21.0-linux-x86_64.tar.gz --strip=1 -C /usr \ && apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* -# Install python dependencies -RUN pip install torch==1.11.0 torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu -RUN pip install packaging "wheel>=0.35.1" parameterized +