Sign inSign up

steadfast/docker-laravel-installer

By steadfast

Updated 3 months ago

Lightweight Docker image with the latest Laravel Installer for quickly creating new Laravel projects

Image
Languages & frameworks
Integration & delivery
Developer tools
1

1.3K

steadfast/docker-laravel-installer repository overview

Laravel Installer - Docker Image

Static Badge Static Badge Docker Pulls GitHub License

A minimal and ready-to-use Docker image to quickly scaffold new Laravel projects using the official Laravel Installer.

Features

  • Based on the official Laravel Sail Docker image.
  • Includes the latest Laravel Installer.
  • Clean and lightweight.
  • Ready to use with docker run.

Usage

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

Demo

Demo

Background

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.

Tag summary

Content type

Image

Digest

sha256:13adbb65b

Size

215.9 MB

Last updated

3 months ago

docker pull steadfast/docker-laravel-installer