Skip to content

Commit

Permalink
Remove two lines in the Dockerfile for Github Codespace (microsoft#12278
Browse files Browse the repository at this point in the history
)

We are not allowed to use "--extra-index-url" anywhere in our code
  • Loading branch information
snnn authored Jul 22, 2022
1 parent ceb7642 commit f2533d3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f2533d3

Please sign in to comment.