aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-12-27 19:58:14 +0000
committerGravatar GitHub <[email protected]>2020-12-27 19:58:14 +0000
commit41ee41ebdc2f2a52015f53fabd47ef017d7461ee (patch)
tree6d332d3220613dcae0d2c86093cefee39f360007 /Dockerfile
parentMerge pull request #46 from python-discord/ks123/responses-bulk-delete (diff)
parentCreate workflow for creating Sentry releases (diff)
Merge pull request #47 from python-discord/ks123/sentry
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index e463544..b560d2d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,6 +3,12 @@ FROM python:3.9-slim
# Allow service to handle stops gracefully
STOPSIGNAL SIGQUIT
+# Set Git SHA build argument
+ARG git_sha="development"
+
+# Set Git SHA environment variable
+ENV GIT_SHA=$git_sha
+
# Install C compiler and make
RUN apt-get update && \
apt-get install -y gcc make && \