Fix bug: Logrotate will start failed when the config file is not with 644 file permission.

This commit is contained in:
jianghang8421
2019-06-25 16:15:29 +08:00
committed by niusmallnan
parent b787287190
commit 34afa7824e

View File

@@ -1,3 +1,4 @@
FROM rancher/os-base
COPY . /
RUN chmod 644 /etc/logrotate.conf
ENTRYPOINT ["/usr/bin/entrypoint.sh"]