aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 && \