From cf0740110d7a4032ebc0960cff3ba3e2c661d1de Mon Sep 17 00:00:00 2001 From: James Date: Sat, 15 Nov 2025 21:54:55 +0000 Subject: [PATCH 1/6] Add cron service initialization script --- rootfs/etc/cont-init.d/04-svc-main.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rootfs/etc/cont-init.d/04-svc-main.sh b/rootfs/etc/cont-init.d/04-svc-main.sh index b7ad156..024fee5 100644 --- a/rootfs/etc/cont-init.d/04-svc-main.sh +++ b/rootfs/etc/cont-init.d/04-svc-main.sh @@ -16,3 +16,11 @@ s6-setuidgid ${PUID}:${PGID} php-fpm83 -F EOL chmod +x /etc/services.d/php-fpm/run + +mkdir -p /etc/services.d/cron +cat > /etc/services.d/cron/run < Date: Sat, 15 Nov 2025 21:56:51 +0000 Subject: [PATCH 2/6] Add crontab for Flarum scheduler execution --- rootfs/etc/crontabs/flarum | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 rootfs/etc/crontabs/flarum diff --git a/rootfs/etc/crontabs/flarum b/rootfs/etc/crontabs/flarum new file mode 100644 index 0000000..3217081 --- /dev/null +++ b/rootfs/etc/crontabs/flarum @@ -0,0 +1,3 @@ +# Execute the Flarum Scheduler +# min hour day month weekday command +* * * * * cd /opt/flarum && php flarum schedule:run >> /dev/null 2>&1 From 3b6547a41b8b5eea2bd8f23c617aed037177c49c Mon Sep 17 00:00:00 2001 From: James Date: Wed, 15 Apr 2026 23:38:15 +0100 Subject: [PATCH 3/6] Update Flarum version to v1.8.14 Update Flarum version to v1.8.14 (likely the last 1.x release until 2.0 goes stable. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 653692f..094c85b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -ARG FLARUM_VERSION=v1.8.10 +ARG FLARUM_VERSION=v1.8.14 ARG ALPINE_VERSION=3.22 FROM tianon/gosu:latest AS gosu From 4cac4c820af3771a579d992134fa3145309564e4 Mon Sep 17 00:00:00 2001 From: James Date: Sat, 25 Apr 2026 17:58:24 +0100 Subject: [PATCH 4/6] Update rootfs/etc/crontabs/flarum Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- rootfs/etc/crontabs/flarum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/etc/crontabs/flarum b/rootfs/etc/crontabs/flarum index 3217081..41fef3a 100644 --- a/rootfs/etc/crontabs/flarum +++ b/rootfs/etc/crontabs/flarum @@ -1,3 +1,3 @@ # Execute the Flarum Scheduler # min hour day month weekday command -* * * * * cd /opt/flarum && php flarum schedule:run >> /dev/null 2>&1 +* * * * * cd /opt/flarum && php flarum schedule:run >> /proc/self/fd/1 2>> /proc/self/fd/2 From bb8f7579dca621ed8c8e9168f8a73b9dd2a2c804 Mon Sep 17 00:00:00 2001 From: James Date: Sat, 25 Apr 2026 17:58:38 +0100 Subject: [PATCH 5/6] Update rootfs/etc/cont-init.d/04-svc-main.sh Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- rootfs/etc/cont-init.d/04-svc-main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/etc/cont-init.d/04-svc-main.sh b/rootfs/etc/cont-init.d/04-svc-main.sh index 024fee5..3884499 100644 --- a/rootfs/etc/cont-init.d/04-svc-main.sh +++ b/rootfs/etc/cont-init.d/04-svc-main.sh @@ -21,6 +21,6 @@ mkdir -p /etc/services.d/cron cat > /etc/services.d/cron/run < Date: Sat, 25 Apr 2026 18:20:41 +0100 Subject: [PATCH 6/6] Update Flarum version to v1.8.16 Update Flarum to 1.8.16 for security https://discuss.flarum.org/d/39109-flarum-1816-released-security-patches --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 094c85b..80f2db4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -ARG FLARUM_VERSION=v1.8.14 +ARG FLARUM_VERSION=v1.8.16 ARG ALPINE_VERSION=3.22 FROM tianon/gosu:latest AS gosu