Lightweight Docker image with the latest Laravel Installer for quickly creating new Laravel projects
1.3K
A minimal and ready-to-use Docker image to quickly scaffold new Laravel projects using the official Laravel Installer.
docker run.To create a new Laravel project using this image, run the following command:
docker run --rm -it \
-v "$(pwd):/app" \
-u $(id -u):$(id -g) \
steadfast/docker-laravel-installer \
new example
Tip
Replace `example` with the name of the folder where your new Laravel project should be created. The folder will be created inside your current working directory.
Check the Laravel Installer version with:
docker run --rm steadfast/docker-laravel-installer --version

Although Laravel provides an official Docker base image for development, there is no dedicated image that includes the latest version of the Laravel Installer.
Since the Laravel Installer is updated frequently with new features, I decided to create this image to always include the most up-to-date version — cloned directly from the official GitHub repository at build time.
Content type
Image
Digest
sha256:13adbb65b…
Size
215.9 MB
Last updated
3 months ago
docker pull steadfast/docker-laravel-installer