mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-05-10 22:15:24 +00:00
Corrected version comparison to determine mc-health mode to use pre-1.7 (#3745)
This commit is contained in:
+5
-1
@@ -89,4 +89,8 @@ 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
|
||||
COPY <<EOF /etc/image.properties
|
||||
buildtime=${BUILDTIME}
|
||||
version=${VERSION}
|
||||
revision=${REVISION}
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user