Update odc_application_dockerfile.txt
This commit is contained in:
parent
4deaa28e7d
commit
8bccb07d36
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue