print image build time during proxy start
This commit is contained in:
@@ -63,7 +63,7 @@ RUN python -m pip install --no-cache --no-index /root/wheels/* && \
|
|||||||
COPY --chmod=0700 entrypoint.sh /root/entrypoint.sh
|
COPY --chmod=0700 entrypoint.sh /root/entrypoint.sh
|
||||||
COPY config .
|
COPY config .
|
||||||
COPY src .
|
COPY src .
|
||||||
|
RUN date > /build-date.txt
|
||||||
EXPOSE 5005
|
EXPOSE 5005
|
||||||
|
|
||||||
# command to run on container start
|
# command to run on container start
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ user="$(id -u)"
|
|||||||
echo "######################################################"
|
echo "######################################################"
|
||||||
echo "# prepare: '$SERVICE_NAME' Version:$VERSION"
|
echo "# prepare: '$SERVICE_NAME' Version:$VERSION"
|
||||||
echo "# for running with UserID:$UID, GroupID:$GID"
|
echo "# for running with UserID:$UID, GroupID:$GID"
|
||||||
|
echo "# Image built: $(cat /build-date.txt) "
|
||||||
echo "#"
|
echo "#"
|
||||||
|
|
||||||
if [ "$user" = '0' ]; then
|
if [ "$user" = '0' ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user