mirror of
https://github.com/linuxserver/docker-baseimage-alpine-nginx.git
synced 2026-02-20 01:03:46 +08:00
Remove build_version
This commit is contained in:
parent
993d50f8d7
commit
fffbe9c357
@ -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/ /
|
||||
|
||||
@ -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/ /
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user