fix: permissions for /opt/crontab.

This commit is contained in:
Robert Wlodarczyk 2025-01-05 10:58:49 -08:00
parent 18880befdb
commit 799ccc8edc

View File

@ -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