Update odc_application_dockerfile.txt

This commit is contained in:
holzi1005 2024-11-16 22:36:44 +01:00
parent 4deaa28e7d
commit 8bccb07d36

View file

@ -24,12 +24,7 @@ RUN apk --no-cache add \
php83-sqlite3 \ php83-sqlite3 \
php83-pdo_sqlite php83-pdo_sqlite
RUN mkdir /etc/service/crond \ RUN chown nobody:nobody /usr/sbin/crond \
&& echo "#!/bin/sh -e" > /etc/service/crond/run \
&& echo "exec 2>&1 /usr/sbin/crond -f" >> /etc/service/crond/run \
&& chown -R nobody:nobody /etc/service/crond \
&& chmod -R +x /etc/service/crond \
&& chown nobody:nobody /usr/sbin/crond \
&& setcap cap_setgid=ep /usr/sbin/crond \ && setcap cap_setgid=ep /usr/sbin/crond \
&& setcap cap_setuid=ep /usr/sbin/crond && setcap cap_setuid=ep /usr/sbin/crond