Non-root Docker image running Debian and OpenLiteSpeed.
To properly utilize this image, please use Demyx.
- Repository - demyxsh/demyx
- Homepage - demyx.sh
Join us on Discord for latest news, faster support, or just chill.
Support this project by buying coffee (please).
The November 2026 PHP security releases fix CVE-2026-129289 and other vulnerabilities. The image uses php:8.4.28-cli-bookworm and requires LiteSpeed PHP 8.4.28 and 8.3.37 or newer on their respective branches. The build checks the CLI, LSAPI, admin, and fallback launchers and rejects older versions or unexpected SAPIs.
This repository change does not patch existing images or running workers. Rebuild with the image references used by your Compose configuration, then recreate containers. With current Demyx, set DEMYX_APP_OLS_LSPHP=8.4 because new-site configuration defaults to PHP 8.5, which this image does not provide.
OLS_VERSION=1.11.0 # Set to the version referenced by your Compose configuration.
docker build --pull --no-cache \
-t demyx/openlitespeed:latest \
-t "demyx/openlitespeed:${OLS_VERSION}" \
-t demyx/openlitespeed:v1 \
tag-latest
docker build --no-cache \
-t demyx/openlitespeed:bedrock \
-t "demyx/openlitespeed:${OLS_VERSION}-bedrock" \
-t demyx/openlitespeed:v1-bedrock \
tag-bedrock
docker compose up -d --force-recreateBuild tag-latest first; Bedrock must use that freshly built local base, so do not pull the Bedrock base before the patched parent is published. Versioned deployments need matching image tags and will not use a latest-only build.
The runtime contract remains unchanged: PHP selection still supports branches 8.3 and 8.4; environment variables, image variants, entrypoint and command interfaces, ports 80/8080, compose paths, the non-root demyx UID 1000, and /demyx, /etc/demyx/custom, and /var/log/demyx mounts are preserved. The base OS moves to Debian 12 Bookworm. Official PHP CLI and LiteSpeed LSAPI remain separate runtimes; the PHP CLI base does not replace the site-request interpreter.

