build: add image info properties (#3400)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2025-04-04 20:25:19 -05:00
1 parent c57760e4b4
commit 5b549c0483
3 files changed
+9 -6

No files matched your search

+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