aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joseph Banks <[email protected]>2020-07-07 20:28:17 +0100
committerGravatar GitHub <[email protected]>2020-07-07 20:28:17 +0100
commitbaf10b6327ba8ca6f3b2b644613170ee5f937e95 (patch)
tree1d090fc1ddeacb85e23f84a9c390b62b2df6f163
parentAdd git to Docker image (diff)
Fix git install in Dockerfile
-rw-r--r--Dockerfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index c51b9dff6..0b1674e7a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,9 +5,11 @@ ENV PIP_NO_CACHE_DIR=false \
PIPENV_HIDE_EMOJIS=1 \
PIPENV_IGNORE_VIRTUALENVS=1 \
PIPENV_NOSPIN=1
-
-RUN apt-get update
-RUN apt-get install -y git
+
+RUN apt-get -y update \
+ && apt-get install -y \
+ git \
+ && rm -rf /var/lib/apt/lists/*
# Install pipenv
RUN pip install -U pipenv