build: add image info properties (#3400)

This commit is contained in:
Geoff Bourne
2025-04-04 20:25:19 -05:00
committed by GitHub
parent c57760e4b4
commit 5b549c0483
3 changed files with 9 additions and 6 deletions
+5
View File
@@ -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