Skip to content

laravolt/image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Release

Introduction

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.

Published Images

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-prod

Compatibility 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.

Included PHP Extensions

The image explicitly installs the extensions commonly needed by Laravolt v7 applications:

  • bcmath
  • exif
  • gd
  • intl

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.

Laravolt Entrypoint Hook

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/html

The hook is safe to skip: if Laravel or Laravolt is not installed, it exits without failing the container.

Build Locally

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors