mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-23 08:31:10 +01:00
13 lines
690 B
Docker
13 lines
690 B
Docker
|
ARG WP_VERSION=6.1.0
|
||
|
FROM ghcr.io/n0rthernl1ghts/wordpress:${WP_VERSION}
|
||
|
|
||
|
# Disable all s6 services except for svc-crond and init-wpconfig-verify
|
||
|
RUN set -eux \
|
||
|
&& bash -c "rm -rf /etc/s6-overlay/s6-rc.d/{svc-unitd,init-unitd-configure,init-verify-wordpress,init-install-wordpress,init-install-resources,init-webuser-permissions,init-wpcontent} \
|
||
|
&& rm -rf /etc/s6-overlay/s6-rc.d/user/contents.d/{svc-unitd,init-unitd-configure,init-verify-wordpress,init-install-wordpress,init-install-resources,init-webuser-permissions,init-wpcontent} \
|
||
|
&& rm -rf /etc/s6-overlay/s6-rc.d/svc-crond/dependencies.d/{init-install-wordpress,svc-unitd}"
|
||
|
|
||
|
|
||
|
ENV CRON_ENABLED=true
|
||
|
|