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