diff options
author | 2020-12-27 20:15:53 +0200 | |
---|---|---|
committer | 2020-12-27 20:15:53 +0200 | |
commit | 481df676ba8782bb1a91a9ddbf4643fdd9cf3e9d (patch) | |
tree | 8a2909f2e50946cf17f75079539ea5f4c1190c82 /Dockerfile | |
parent | Add Sentry SDK to dependencies (diff) |
Add Git SHA build argument consuming to Dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 && \ |