Log out version, commit and build date at start

This commit is contained in:
Quentin McGaw (desktop) 2021-08-04 10:19:24 -04:00
parent de7a3cae83
commit 474331361e
2 changed files with 6 additions and 1 deletions

View File

@ -171,7 +171,10 @@ ENV \
ARG VERSION=unknown
ARG CREATED="an unknown date"
ARG COMMIT=unknown
ENV COMMIT=${COMMIT}
ENV \
VERSION=${VERSION} \
CREATED=${CREATED} \
COMMIT=${COMMIT}
LABEL \
org.opencontainers.image.authors="https://github.com/Bubka" \
org.opencontainers.image.version=$VERSION \

View File

@ -2,6 +2,8 @@
set -e
echo "Running version ${VERSION} commit ${COMMIT} built on ${CREATED}"
# Show versions
echo "supervisord version: $(supervisord version)"
php-fpm7.3 -v | head -n 1