Skip to content

Commit 18c3ea9

Browse files
authored
fix docker build for py3.7 (#49)
1 parent c1bb2ea commit 18c3ea9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cpu/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ RUN \
4141

4242
# install python dependencies
4343
# sysctl -w net.ipv4.ip_forward=1 ; \
44-
if [[ "$PYTHON_VERSION" == "2.7" || "$PYTHON_VERSION" == "3.6" ]]; then \
44+
if [[ "$PYTHON_VERSION" == "2.7" || "$PYTHON_VERSION" == "3.6" || "$PYTHON_VERSION" == "3.7" ]]; then \
4545
PIP_URL="https://bootstrap.pypa.io/pip/$PYTHON_VERSION/get-pip.py" ; \
4646
else \
4747
apt-get -y install --no-install-recommends python${PYTHON_VERSION}-distutils ; \

gpu/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN \
4747

4848
# install python dependencies
4949
# sysctl -w net.ipv4.ip_forward=1 ; \
50-
if [[ "$PYTHON_VERSION" == "2.7" || "$PYTHON_VERSION" == "3.6" ]]; then \
50+
if [[ "$PYTHON_VERSION" == "2.7" || "$PYTHON_VERSION" == "3.6" || "$PYTHON_VERSION" == "3.7" ]]; then \
5151
PIP_URL="https://bootstrap.pypa.io/pip/$PYTHON_VERSION/get-pip.py" ; \
5252
else \
5353
apt-get -y install --no-install-recommends python${PYTHON_VERSION}-distutils ; \

0 commit comments

Comments
 (0)