Bugfix: Fix tensorflow cpu docker image (#1081)

* Bugfix: Update tensorflow docker image to tag: 2.2.1-py3

There is no image tagged 2.2.0-py3.
Related ticket for gpu: #1078

* Bugfix: Install software-properties-common to fetch missing add-apt-repository

* Bugfix: Refactor missing package installation to a single line

* Bugfix: Disable interactive input stopping the docker build
This commit is contained in:
Shubham Chaudhary
2020-10-24 06:42:04 -04:00
committed by GitHub
parent 42d10bc991
commit ef099665f7
2 changed files with 8 additions and 2 deletions

View File

@@ -1,6 +1,11 @@
FROM tensorflow/tensorflow:2.2.0-py3
FROM tensorflow/tensorflow:2.2.1-py3
RUN add-apt-repository -y ppa:jonathonf/ffmpeg-4 \
# To disable tzdata and others from asking for input
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -qq -y \
&& apt-get install -y software-properties-common \
&& add-apt-repository -y ppa:jonathonf/ffmpeg-4 \
&& apt-get update -qq -y \
&& apt-get install -y libsm6 libxrender1 libxext-dev python3-tk ffmpeg git \
&& apt-get clean \

View File

@@ -1,5 +1,6 @@
FROM tensorflow/tensorflow:2.2.1-gpu-py3
# To disable tzdata and others from asking for input
ENV DEBIAN_FRONTEND noninteractive
RUN add-apt-repository -y ppa:jonathonf/ffmpeg-4 \