aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-07-14 12:22:23 -0700
committerGravatar MarkKoz <[email protected]>2020-07-14 12:22:23 -0700
commit49838d22420d2a355fb0c227cbb0e0afb23c6acb (patch)
tree474e6674e8e40f5c5b943dd7e45134860b31d5b1
parentRemove redundant f-strings (diff)
Install git in Docker image
It's needed to be able to download discord.py via git since the alpha version is not on PyPI.
-rw-r--r--Dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index b8a8a1e4..1e84a56d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,6 +6,12 @@ ENV PIP_NO_CACHE_DIR=false \
PIPENV_IGNORE_VIRTUALENVS=1 \
PIPENV_NOSPIN=1
+# Install git to be able to dowload git dependencies in the Pipfile
+RUN apt-get -y update \
+ && apt-get install -y \
+ git \
+ && rm -rf /var/lib/apt/lists/*
+
# Install pipenv
RUN pip install -U pipenv