Fix bug: Logrotate will start failed when the config file is not with 644 file permission.
This commit is contained in:
committed by
niusmallnan
parent
b787287190
commit
34afa7824e
@@ -1,3 +1,4 @@
|
||||
FROM rancher/os-base
|
||||
COPY . /
|
||||
RUN chmod 644 /etc/logrotate.conf
|
||||
ENTRYPOINT ["/usr/bin/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user