mirror of
https://github.com/willfarrell/docker-crontab.git
synced 2025-04-06 15:05:10 +02:00
fix: permissions for /opt/crontab.
This commit is contained in:
parent
18880befdb
commit
799ccc8edc
@ -47,9 +47,10 @@ RUN apk update --quiet && \
|
||||
tini \
|
||||
wget && \
|
||||
rm /var/cache/apk/* && \
|
||||
mkdir -p ${HOME_DIR}/jobs && \
|
||||
rm -rf /etc/periodic /etc/crontabs/root && \
|
||||
adduser -S docker -D
|
||||
adduser -S docker -D && \
|
||||
mkdir -p ${HOME_DIR}/jobs && \
|
||||
chown -R docker:docker ${HOME_DIR}
|
||||
|
||||
USER docker
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user