Skip to content

Commit 2ff10c9

Browse files
authored
fixed the pip install error (#27)
1 parent 4499835 commit 2ff10c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tensorflow_gpu.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN \
3636
python3-distutils \
3737
&& rm -rf /var/lib/apt/lists/* \
3838
&& update-alternatives --install /usr/bin/python python /usr/bin/python3.8 10 \
39-
&& curl https://bootstrap.pypa.io/get-pip.py | python \
39+
&& curl https://bootstrap.pypa.io/pip/3.8/get-pip.py | python \
4040
&& pip install --upgrade pip \
4141
&& pip install --no-cache-dir -r requirements.txt \
4242
&& pip install --no-cache-dir tensorflow==2.12.1 \

tensorflow_gpu.flex.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ RUN \
3838
python3-distutils \
3939
&& rm -rf /var/lib/apt/lists/* \
4040
&& update-alternatives --install /usr/bin/python python /usr/bin/python3.8 10 \
41-
&& curl https://bootstrap.pypa.io/get-pip.py | python \
41+
&& curl https://bootstrap.pypa.io/pip/3.8/get-pip.py | python \
4242
&& pip install --upgrade pip \
4343
&& pip install --no-cache-dir -r requirements.txt \
4444
&& pip install --no-cache-dir tensorflow==2.12.1 \

0 commit comments

Comments
 (0)