Corrected version comparison to determine mc-health mode to use pre-1.7 (#3745)

This commit is contained in:
Geoff Bourne
2025-11-05 12:23:19 -06:00
committed by GitHub
parent 690745cb13
commit a8d8bfeef8
2 changed files with 19 additions and 14 deletions
+5 -1
View File
@@ -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