Skip to main content

Use docker image

The CLI is available in a docker image with PHP 8.2 and composer pre-installed on Docker hub. You can use latest tag or specify the version.

Example of CI/CD with Gitlab

Example of .gitlab-ci.yml file to put in your git project :
.gitlab-ci.yml

Use CLI in your Dockerfile

You can grab the latest version by copying from the official repository :
Dockerfile

Original Dockerfile

If you want to create your own image, you can find original Dockerfile below.
Dockerfile