Docker

View image on Docker Hub

View image on GitHub Container Registry

Requirements

Basic usage

As an alternative to the usage with Composer, there’s also a ready-to-use Docker image:

# Docker Hub
docker run --rm -it -v <target-dir>:/app cpsit/project-builder

# GitHub Container Registry
docker run --rm -it -v <target-dir>:/app ghcr.io/cps-it/project-builder

Replace <target-dir> with an absolute or relative path to the directory where to install and set up your new project. Make sure to always mount the volume to /app.

Note

In the entrypoint, composer create-project is executed. It already contains all recommended command options.

Available image tags

The following image tags are currently available:

Tag name

Description

<version>

The appropriate project version, e.g. 2.12.1

latest

The latest project version