From 2f1ffa4eda1a861d11e33fb75cd659a972efad94 Mon Sep 17 00:00:00 2001 From: Ahmad Al-Mughrabi Date: Thu, 16 Jul 2020 19:34:40 +0300 Subject: [PATCH] Tweaks the missing `git` installation. In requirements.txt, there is a git dependency such as ``git+https://www.github.com/keras-team/keras-contrib.git``, where the ``docker build`` is failed due to the absence of ``git`` installation. --- Dockerfile.cpu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.cpu b/Dockerfile.cpu index 775540fe2e..7e01933df8 100644 --- a/Dockerfile.cpu +++ b/Dockerfile.cpu @@ -12,7 +12,8 @@ ARG userid=1000 RUN apt-get update && apt-get install -y \ graphviz \ - libgraphviz-dev + libgraphviz-dev \ + git COPY ./requirements.txt / RUN python3 -m pip install --upgrade pip