summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJames Mills <1290234+prologic@users.noreply.github.com>2023-01-21 11:25:30 +1000
committerJames Mills <1290234+prologic@users.noreply.github.com>2023-01-21 11:25:30 +1000
commit07d888c2c60d727dab49aa8dbc905cb3ccedd7aa (patch)
treeb82546830b36630eab15007a3da03342fca2dbf9 /Dockerfile
parentc727404d9156861dc40a657b3599da36ed0bae62 (diff)
Fix build and versioning (borrowed from yarn)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index e581d4e..513c7fd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -39,9 +39,10 @@ COPY ./utils/*.go ./utils/
# COMMIT value to change.
ARG VERSION="0.0.0"
ARG COMMIT="HEAD"
+ARG BUILD=""
# Build server binary
-RUN make server VERSION=$VERSION COMMIT=$COMMIT
+RUN make server VERSION=$VERSION COMMIT=$COMMIT BUILD=$BUILD
# Runtime
FROM alpine:latest