diff options
| author | 2020-07-07 20:28:17 +0100 | |
|---|---|---|
| committer | 2020-07-07 20:28:17 +0100 | |
| commit | baf10b6327ba8ca6f3b2b644613170ee5f937e95 (patch) | |
| tree | 1d090fc1ddeacb85e23f84a9c390b62b2df6f163 | |
| parent | Add git to Docker image (diff) | |
Fix git install in Dockerfile
| -rw-r--r-- | Dockerfile | 8 |
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 |