aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Rohan <[email protected]>2021-01-22 11:59:37 +0530
committerGravatar Rohan <[email protected]>2021-01-22 11:59:37 +0530
commitdfdebdbab564b8493c6a8c251a32227227c834e6 (patch)
tree60ad18b8eaedf9ff7ba35af827bbeebb2a0058f4 /Dockerfile
parentFix bug in auto_poster_loop() regarding embed description. (diff)
parentMerge pull request #564 from rijusougata13/master (diff)
Merge branch 'master' of https://github.com/python-discord/sir-lancebot into reddit_migration
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 40a77414..328984ad 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,10 +1,14 @@
FROM python:3.8-slim
+# Set SHA build argument
+ARG git_sha="development"
+
# Set pip to have cleaner logs and no saved cache
ENV PIP_NO_CACHE_DIR=false \
PIPENV_HIDE_EMOJIS=1 \
PIPENV_IGNORE_VIRTUALENVS=1 \
- PIPENV_NOSPIN=1
+ PIPENV_NOSPIN=1 \
+ GIT_SHA=$git_sha
# Install git to be able to dowload git dependencies in the Pipfile
RUN apt-get -y update \