diff --git a/Dockerfile b/Dockerfile index e9d9b0c..4242db9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -73,8 +73,7 @@ RUN \ sed -i "s#/var/log/messages {}.*# #g" \ /etc/logrotate.conf && \ sed -i 's#/usr/sbin/logrotate /etc/logrotate.conf#/usr/sbin/logrotate /etc/logrotate.conf -s /config/log/logrotate.status#g' \ - /etc/periodic/daily/logrotate && \ - printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version + /etc/periodic/daily/logrotate # add local files COPY root/ / diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index ddd0fa2..ce00c3c 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -73,8 +73,7 @@ RUN \ sed -i "s#/var/log/messages {}.*# #g" \ /etc/logrotate.conf && \ sed -i 's#/usr/sbin/logrotate /etc/logrotate.conf#/usr/sbin/logrotate /etc/logrotate.conf -s /config/log/logrotate.status#g' \ - /etc/periodic/daily/logrotate && \ - printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version + /etc/periodic/daily/logrotate # add local files COPY root/ /