Dockerfile image specially for Drupal and Pantheon environments. It contains just basic and important packages to configure and build Drupal projects compatible with Pantheon on Bitbucket pipelines or local environments.
Images can be pulled from digitalpolygon/docker-pantheon-image-tools-ci.
- Debian official base image
- PHP 8.x (8.0, 8.1, 8.2, 8.3)
- Node.js v20
- Yarn v1.22
- Composer v2
- Pantheon build-tools-ci scripts
- Terminus
- Terminus plugins
- Test tools
- phpunit
- behat
- php_codesniffer
- Test scripts
- 8.x: Use a Docker official base image with Node JS, composer 2 and Terminus 3. Produces 8.x-php8.0, 8.x-php8.1 and 8.x-php8.2 image tags.
From project root:
# PHP_VERSION could be 8.0, 8.1, 8.2 or 8.3.
PHP_VERSION=8.1
docker build --build-arg PHP_VERSION=PHP_VERSION -t ghcr.io/digitalpolygon/docker-pantheon-image-tools-ci:8.x-php${PHP_VERSION} .