Reusable Docker base image for Laravolt/Laravel deployment. The image extends ServerSideUp PHP and adds Laravolt-friendly PHP extensions plus a small entrypoint hook that can run php artisan laravolt:link during container startup.
Docker Hub: https://hub.docker.com/r/laravoltdev/image
Recommended tag for Laravolt v7 applications (PHP 8.5 branch preview):
docker pull laravoltdev/image:php8.5-prodCompatibility tags are kept for existing apps:
| Tag | Purpose |
|---|---|
laravoltdev/image:php8.5-frankenphp-debian |
Recommended PHP 8.5 FrankenPHP Debian runtime |
laravoltdev/image:php8.5-prod |
Production alias for deployment images |
laravoltdev/image:latest |
Latest recommended production runtime, currently PHP 8.5 on this branch preview |
Release builds also publish versioned tags such as php8.5-frankenphp-debian-vX.Y.Z, php8.5-prod-vX.Y.Z, and php8.5-base-vX.Y.Z.
The image explicitly installs the extensions commonly needed by Laravolt v7 applications:
bcmathexifgdintl
ServerSideUp already ships common Laravel runtime extensions such as zip, PDO database drivers, and Redis on the recommended FrankenPHP images. Keep those available through the upstream base instead of reinstalling them here.
Set these env vars to auto-run Laravolt asset linking when a Laravel app is mounted/baked into the image:
AUTORUN_ENABLED=true
AUTORUN_LARAVOLT_LINK=true
APP_BASE_DIR=/var/www/htmlThe hook is safe to skip: if Laravel or Laravolt is not installed, it exits without failing the container.
docker build \
--build-arg PHP_VERSION=8.5 \
--build-arg BASE_VARIATION=frankenphp-debian \
--build-arg SERVERSIDEUP_VERSION=v4.4.0 \
-t laravoltdev/image:php8.5-prod \
src