mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-07 01:09:22 +00:00
build: add image info properties (#3400)
This commit is contained in:
1 parent
c57760e4b4
commit
5b549c0483
3 files changed
+9
-6
No files matched your search
@@ -78,3 +78,8 @@ RUN dos2unix /start* /auto/*
|
||||
|
||||
ENTRYPOINT [ "/start" ]
|
||||
HEALTHCHECK --start-period=2m --retries=2 --interval=30s CMD mc-health
|
||||
|
||||
ARG BUILDTIME=local
|
||||
ARG VERSION=local
|
||||
ARG REVISION=local
|
||||
RUN echo "buildtime=${BUILDTIME}\nversion=${VERSION}\nrevision=${REVISION}" > /etc/image.properties
|
||||
Reference in new issue
Block a user