mirror of
https://github.com/willfarrell/docker-crontab.git
synced 2025-04-06 15:05:10 +02:00
fix: make /var/log/crontab writeable for everyone.
This commit is contained in:
parent
a87292bd6c
commit
1a540df103
@ -48,8 +48,10 @@ RUN apk update --quiet && \
|
||||
wget && \
|
||||
rm /var/cache/apk/* && \
|
||||
mkdir -p ${HOME_DIR}/jobs && \
|
||||
mkdir -p /var/log/crontab && \
|
||||
rm -rf /etc/periodic /etc/crontabs/root && \
|
||||
adduser -S docker -D
|
||||
adduser -S docker -D && \
|
||||
chmod u=rwx,go=rw /var/log/crontab
|
||||
|
||||
USER docker
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user