mirror of
https://github.com/zebrajr/faceswap.git
synced 2026-01-15 12:15:15 +00:00
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:
committed by
GitHub
parent
42d10bc991
commit
ef099665f7
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user