Remove two lines in the Dockerfile for Github Codespace (#12278)

We are not allowed to use "--extra-index-url" anywhere in our code
This commit is contained in:
Changming Sun 2022-07-21 20:52:17 -07:00 committed by GitHub
parent ceb76429db
commit f2533d3084
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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