summaryrefslogtreecommitdiffstats
path: root/dmt/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'dmt/Dockerfile')
-rw-r--r--dmt/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/dmt/Dockerfile b/dmt/Dockerfile
index 6d53838..f440d5e 100644
--- a/dmt/Dockerfile
+++ b/dmt/Dockerfile
@@ -14,6 +14,7 @@ ENV GOPATH="/usr/local"
COPY . .
RUN go install github.com/uriel/cgd@latest
+RUN tr -dc a-z </dev/urandom | head -c 12 >/version
EXPOSE 80
CMD ["cgd", "-a", ":80", "-c", "dmt"]