Skip to content

Commit db4fc2b

Browse files
committed
TF now supports python 3.8
1 parent ee3198f commit db4fc2b

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Dockerfile.ubuntu-2004

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,12 @@ RUN apt update -qq && apt install -qq -y \
1414
zlib1g-dev && \
1515
rm -rf /var/lib/apt/lists/*
1616

17-
# Since Tensorflow only supports Python up to 3.7 and not 3.8 (default in 20.04) instead of tensorflow or tf-nightly-cpu we use
18-
# Tensorflow wheel files from https://pypi.org/project/tf-nightly/2.2.0.dev20200307/#files
19-
RUN wget https://files.pythonhosted.org/packages/30/8e/650b282491e126a39e2b256f1ad790d566c53465dfd801a7703e421431e3/tf_nightly-2.2.0.dev20200307-cp38-cp38-manylinux2010_x86_64.whl && \
20-
python3 -m pip install --upgrade pip && \
21-
python3 -m pip install tf_nightly-2.2.0.dev20200307-cp38-cp38-manylinux2010_x86_64.whl && \
22-
rm tf_nightly-2.2.0.dev20200307-cp38-cp38-manylinux2010_x86_64.whl
23-
2417
RUN git config --global user.name "Gen User"
2518
RUN git config --global user.email "[email protected]"
2619

2720
# Could use virtual environment - "RUN virtualenv -p /usr/bin/python3 /venv" and ". /venv/bin/activate" && in front of pip and julia commands
28-
RUN python3 -m pip install jupyter jupytext matplotlib
21+
RUN python3 -m pip install --upgrade pip
22+
RUN python3 -m pip install jupyter jupytext matplotlib tensorflow
2923

3024
# Specify Julia version. Find current version on https://julialang.org/downloads/
3125
ARG JULIA_VERSION_SHORT="1.5"

0 commit comments

Comments
 (0)