Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Minor

Michal Rutka02aa51a2dcd5
diff --git a/manager/swarm.Dockerfile b/manager/swarm.Dockerfile
index 2b049cccb..6bfacd50c 100644
--- a/manager/swarm.Dockerfile
+++ b/manager/swarm.Dockerfile
@@ -3,6 +3,10 @@ FROM openremote/deployment:latest AS deployment
############ EDITS ABOVE THIS LINE SHOULD BE DONE IN ALL DOCKERFILES! ################
FROM openjdk:8-jre
+# Add git commit label must be specified at build time using --build-arg GIT_COMMIT=dadadadadad
+ARG GIT_COMMIT=unknown
+LABEL git-commit=$GIT_COMMIT
+
ENV JAVA_OPTS -Xmx1g
ENV APP_DOCROOT /deployment/manager/app