Skip to content

Commit 2b8a74d

Browse files
authored
add version output in logs
1 parent 085e61b commit 2b8a74d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ RUN \
3333
/etc/logrotate.conf && \
3434
sed -i 's#/usr/sbin/logrotate /etc/logrotate.conf#/usr/sbin/logrotate /etc/logrotate.conf -s /config/log/logrotate.status#g' \
3535
/etc/periodic/daily/logrotate && \
36+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
3637
echo "**** cleanup ****" && \
3738
rm -rf \
3839
/tmp/* \

Dockerfile.aarch64

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ RUN \
3333
/etc/logrotate.conf && \
3434
sed -i 's#/usr/sbin/logrotate /etc/logrotate.conf#/usr/sbin/logrotate /etc/logrotate.conf -s /config/log/logrotate.status#g' \
3535
/etc/periodic/daily/logrotate && \
36+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
3637
echo "**** cleanup ****" && \
3738
rm -rf \
3839
/tmp/* \

0 commit comments

Comments
 (0)