aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-08-22 01:36:05 +0200
committerGravatar Leon Sandøy <[email protected]>2020-08-22 01:36:05 +0200
commit1d4db565aedb1b13b8594f4586748698d85d6139 (patch)
treef467dad25451383883d48fbcde7cc246bef9a9d1
parentAdd gitpython ~=3.1.7 as a dependency. (diff)
Install git in the docker environment.
This is required for gitpython to work.
-rw-r--r--docker/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index aa427947..d9da7d14 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -8,6 +8,11 @@ ENV PIP_NO_CACHE_DIR=false \
PIPENV_HIDE_EMOJIS=1 \
PIPENV_NOSPIN=1
+# Install git
+RUN apt-get update && \
+ apt-get upgrade -y && \
+ apt-get install -y git
+
# Create non-root user.
RUN useradd --system --shell /bin/false --uid 1500 pysite