Docker Build Tools CI
This is the source Dockerfile for the pantheon-public/build-tools-ci and pantheonpublic/build-tools-ci docker image.
Image Contents
Branches
- 8.x: Use a CircleCI base image with Node JS, composer 2 and Terminus 3. Produces 8.x-php7.4, 8.x-php8.0, 8.x-php8.1, 8.x-php8.2 and 8.x-php8.3 image tags.
- 7.x: Use a CircleCI base image with Node JS and composer 2. Produces 7.x-php7.3, 7.x-php7.4 and 7.x-php8.0 image tags.
- 6.x: Use a CircleCI base image with Node JS (No longer maintained)
- 5.x: Don't create multidevs when commits are made to the default branch, instead working directly on the dev environment (No longer maintained)
- 4.x: Terminus 2.x and Build Tools 2.x (No longer maintained)
- 3.x: Deprecated: Terminus 1 with Build Tools 2.0.0-beta2 (No longer maintained)
- 2.x: Terminus 1.x and Build Tools 1.x (No longer maintained)
- 1.x: Deprecated (No longer maintained)
8.x Docker images
Building the image
From project root:
# PHPVERSION could be 7.4, 8.0, 8.1, 8.2 or 8.3.
PHPVERSION=7.4
docker build --build-arg PHPVERSION=$PHPVERSION -t quay.io/pantheon-public/build-tools-ci:8.x-php${PHPVERSION} .
7.x Docker images
Building the image
From project root:
# PHPVERSION could be 7.3, 7.4 or 8.0.
PHPVERSION=7.4
docker build --build-arg PHPVERSION=$PHPVERSION -t quay.io/pantheon-public/build-tools-ci:7.x-php${PHPVERSION} .
Using the image
Image name and tag
- quay.io/pantheon-public/build-tools-ci:8.x-php7.4
- quay.io/pantheon-public/build-tools-ci:8.x-php8.0
- quay.io/pantheon-public/build-tools-ci:8.x-php8.1
- quay.io/pantheon-public/build-tools-ci:8.x-php8.2
- quay.io/pantheon-public/build-tools-ci:8.x-php8.3
Usage example
Set the right image tag in the following files and it will work as expected: