Skip to content

Commit 6ac9e7d

Browse files
authored
Update Dockerfile
1 parent 662ecd6 commit 6ac9e7d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ RUN pip3 install pip --upgrade \
3030
&& ldconfig \
3131
&& pip cache purge
3232

33+
# PyTorch
3334
RUN mkdir -p /wheels \
34-
# PyTorch
3535
&& git clone -b ${TORCHVER} https://github.com/pytorch/pytorch.git \
3636
&& cd pytorch \
3737
&& git submodule update --init --recursive \
@@ -46,8 +46,8 @@ RUN mkdir -p /wheels \
4646
&& cd .. \
4747
&& rm -rf /pytorch
4848

49-
RUN # TorchVision
50-
git clone -b ${TORCHVISIONVER} https://github.com/pytorch/vision.git \
49+
# TorchVision
50+
RUN git clone -b ${TORCHVISIONVER} https://github.com/pytorch/vision.git \
5151
&& cd vision \
5252
&& git submodule update --init --recursive \
5353
&& pip3 install /pytorch/dist/*.whl \
@@ -57,8 +57,8 @@ RUN # TorchVision
5757
&& cd .. \
5858
&& rm -rf /vision
5959

60-
RUN # TorchAudio
61-
git clone -b ${TORCHAUDIOVER} https://github.com/pytorch/audio.git \
60+
# TorchAudio
61+
RUN git clone -b ${TORCHAUDIOVER} https://github.com/pytorch/audio.git \
6262
&& cd audio \
6363
&& git submodule update --init --recursive \
6464
&& python3 setup.py build \

0 commit comments

Comments
 (0)