mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-02-16 10:29:16 +01:00
Log out version, commit and build date at start
This commit is contained in:
parent
de7a3cae83
commit
474331361e
@ -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 \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user