1
0
mirror of https://github.com/rancher/os.git synced 2025-08-02 07:24:28 +00:00
os/images/02-logrotate/Dockerfile
Stephen Drake 8289d4e1bb Add logrotate and cron system services to support basic log rotation.
Signed-off-by: Stephen Drake <stephen@xenolith.net>
2017-07-07 13:49:17 +02:00

6 lines
193 B
Docker

FROM rancher/os-base
COPY logrotate.d/ /usr/share/logrotate/logrotate.d/
COPY logrotate.conf /etc/logrotate.conf
COPY entrypoint.sh /usr/bin/entrypoint.sh
ENTRYPOINT ["/usr/bin/entrypoint.sh"]