diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index e0af6f9..8ab7d9d 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -3,10 +3,10 @@ name: Docker PHP Images GitHub workflow on: pull_request: branches: - - 'v4' + - 'v5' push: branches: - - 'v4' + - 'v5' schedule: - cron: '42 3 * * 0' @@ -49,7 +49,7 @@ jobs: run: | TAG_PREFIX="rc${GITHUB_RUN_ID}-" \ PHP_VERSION="${{ matrix.php_version }}" \ - BRANCH="v4" \ + BRANCH="v5" \ VARIANT="${{ matrix.variant }}" \ PLATFORM="linux/${{ matrix.builder.arch }}" \ ./tests-suite/bash_unit -f tap ./tests-suite/*.sh @@ -89,7 +89,7 @@ jobs: --load \ php${PHP_VERSION//.}-slim-${{ matrix.variant }} # Retrieve minor - PHP_PATCH_MINOR=`docker run --rm thecodingmachine/php:rc${GITHUB_RUN_ID}-${{ matrix.php_version }}-v4-slim-${{ matrix.variant }} php -v | head -n1 | grep -P '\d+\.\d+\.\d+' -o | head -n1` + PHP_PATCH_MINOR=`docker run --rm thecodingmachine/php:rc${GITHUB_RUN_ID}-${{ matrix.php_version }}-v5-slim-${{ matrix.variant }} php -v | head -n1 | grep -P '\d+\.\d+\.\d+' -o | head -n1` echo "PHP_PATCH_MINOR=${PHP_PATCH_MINOR}" >> $GITHUB_ENV - name: Display tags to build run: | diff --git a/Dockerfile.slim.apache b/Dockerfile.slim.apache index 822e93f..e9f40e0 100644 --- a/Dockerfile.slim.apache +++ b/Dockerfile.slim.apache @@ -1,6 +1,6 @@ #syntax=docker/dockerfile-upstream:1 # DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.*.blueprint) -FROM ubuntu:20.04 +FROM ubuntu:22.04 LABEL authors="Julien Neuhart , David Négrier " SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -33,7 +33,7 @@ ENV PHP_VERSION=${PHP_VERSION} # Install php an other packages RUN apt-get update \ && apt-get install -y --no-install-recommends gnupg \ - && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu focal main" > /etc/apt/sources.list.d/ondrej-php.list \ + && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu jammy main" > /etc/apt/sources.list.d/ondrej-php.list \ && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F4EA0AAE5267A6C \ && apt-get update \ && apt-get upgrade -y \ diff --git a/Dockerfile.slim.cli b/Dockerfile.slim.cli index 6e83f27..7b63798 100644 --- a/Dockerfile.slim.cli +++ b/Dockerfile.slim.cli @@ -1,6 +1,6 @@ #syntax=docker/dockerfile-upstream:1 # DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.*.blueprint) -FROM ubuntu:20.04 +FROM ubuntu:22.04 LABEL authors="Julien Neuhart , David Négrier " SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -33,7 +33,7 @@ ENV PHP_VERSION=${PHP_VERSION} # Install php an other packages RUN apt-get update \ && apt-get install -y --no-install-recommends gnupg \ - && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu focal main" > /etc/apt/sources.list.d/ondrej-php.list \ + && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu jammy main" > /etc/apt/sources.list.d/ondrej-php.list \ && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F4EA0AAE5267A6C \ && apt-get update \ && apt-get upgrade -y \ diff --git a/Dockerfile.slim.fpm b/Dockerfile.slim.fpm index 69ae603..b4fe2b4 100644 --- a/Dockerfile.slim.fpm +++ b/Dockerfile.slim.fpm @@ -1,6 +1,6 @@ #syntax=docker/dockerfile-upstream:1 # DO NOT EDIT THIS FILE : Make yours changes in /utils/Dockerfile.*.blueprint) -FROM ubuntu:20.04 +FROM ubuntu:22.04 LABEL authors="Julien Neuhart , David Négrier " SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -33,7 +33,7 @@ ENV PHP_VERSION=${PHP_VERSION} # Install php an other packages RUN apt-get update \ && apt-get install -y --no-install-recommends gnupg \ - && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu focal main" > /etc/apt/sources.list.d/ondrej-php.list \ + && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu jammy main" > /etc/apt/sources.list.d/ondrej-php.list \ && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F4EA0AAE5267A6C \ && apt-get update \ && apt-get upgrade -y \ diff --git a/HELP.md b/HELP.md index 6260120..2ec63aa 100644 --- a/HELP.md +++ b/HELP.md @@ -14,7 +14,7 @@ * Build the slim image * Run it with docker and try extensions with follow commands ```bash - docker run -it --rm thecodingmachine/php:8.1-v4-slim-apache sudo bash + docker run -it --rm thecodingmachine/php:8.1-v5-slim-apache sudo bash apt-get update apt-cache search --names-only php8.1-zip ``` diff --git a/MIGRATING.md b/MIGRATING.md index dd93047..6158ef5 100644 --- a/MIGRATING.md +++ b/MIGRATING.md @@ -1,3 +1,9 @@ +# Migrating from v4 to v5 images + +Important changes: + +- v4 images are based on **Ubuntu 20.04**. v5 images are based on **Ubuntu 22.04**. + # Migrating from v3 to v4 images Important changes: diff --git a/Makefile b/Makefile index e806a73..37ee135 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ blueprint: ## Generate all blueprints file test-latest: test-8.2 ## Test the latest build only _test-prerequisites: blueprint - docker pull ubuntu:20.04 + docker pull ubuntu:22.04 test-quick: ## Test 8.0, 8.1 and 8.2 quickly VERSION=8.0 VARIANT=cli $(MAKE) _test-version-quick @@ -33,14 +33,14 @@ _test-version: _test-prerequisites ## Test php build for VERSION="" and VARIANT= docker buildx bake --load \ --set "*.platform=$(uname -p)" \ php$${VERSION//.}-$(VARIANT)-all - PHP_VERSION="$(VERSION)" BRANCH=v4 VARIANT=$(VARIANT) ./tests-suite/bash_unit -f tap ./tests-suite/*.sh || (notify-send -u critical "Tests failed ($(VERSION)-$(VARIANT))" && exit 1) + PHP_VERSION="$(VERSION)" BRANCH=v5 VARIANT=$(VARIANT) ./tests-suite/bash_unit -f tap ./tests-suite/*.sh || (notify-send -u critical "Tests failed ($(VERSION)-$(VARIANT))" && exit 1) notify-send -u critical "Tests passed with success ($(VERSION)-$(VARIANT))" _test-version-quick: _test-prerequisites ## Test php build for VERSION="" and VARIANT="" (without node variants) docker buildx bake --load \ --set "*.platform=$(uname -p)" \ php$${VERSION//.}-slim-$(VARIANT) php$${VERSION//.}-$(VARIANT) - PHP_VERSION="$(VERSION)" BRANCH=v4 VARIANT=$(VARIANT) ./tests-suite/bash_unit -f tap ./tests-suite/*.sh || (notify-send -u critical "Tests failed ($(VERSION)-$(VARIANT))" && exit 1) + PHP_VERSION="$(VERSION)" BRANCH=v5 VARIANT=$(VARIANT) ./tests-suite/bash_unit -f tap ./tests-suite/*.sh || (notify-send -u critical "Tests failed ($(VERSION)-$(VARIANT))" && exit 1) notify-send -u critical "Tests passed with success ($(VERSION)-$(VARIANT)) - without node-*" clean: ## Clean dangles image after build diff --git a/README.md b/README.md index 09476a1..72e6980 100644 --- a/README.md +++ b/README.md @@ -22,138 +22,102 @@ This repository contains a set of developer-friendly, general purpose PHP images | Name | PHP version | type |variant | NodeJS version | Size |-------------------------------------------------------------------------|------------------------------|------|--------|-----------------|------ -| [thecodingmachine/php:8.2-v4-apache](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache) | `8.2.x` | fat | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-apache.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-apache) -| [thecodingmachine/php:8.2-v4-apache-node10](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `8.2.x` | fat | apache | `10.x`(2) | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-apache-node10.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-apache-node10) -| [thecodingmachine/php:8.2-v4-apache-node12](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `8.2.x` | fat | apache | `12.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-apache-node12.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-apache-node12) -| [thecodingmachine/php:8.2-v4-apache-node14](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `8.2.x` | fat | apache | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-apache-node14.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-apache-node14) -| [thecodingmachine/php:8.2-v4-apache-node16](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `8.2.x` | fat | apache | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-apache-node16.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-apache-node16) -| [thecodingmachine/php:8.2-v4-apache-node18](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `8.2.x` | fat | apache | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-apache-node18.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-apache-node18) -| [thecodingmachine/php:8.2-v4-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm) | `8.2.x` | fat | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-fpm) -| [thecodingmachine/php:8.2-v4-fpm-node10](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `8.2.x` | fat | fpm | `10.x`(2) | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-fpm-node10.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-fpm-node10) -| [thecodingmachine/php:8.2-v4-fpm-node12](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `8.2.x` | fat | fpm | `12.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-fpm-node12.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-fpm-node12) -| [thecodingmachine/php:8.2-v4-fpm-node14](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `8.2.x` | fat | fpm | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-fpm-node14.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-fpm-node14) -| [thecodingmachine/php:8.2-v4-fpm-node16](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `8.2.x` | fat | fpm | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-fpm-node16.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-fpm-node16) -| [thecodingmachine/php:8.2-v4-fpm-node18](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `8.2.x` | fat | fpm | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-fpm-node18.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-fpm-node18) -| [thecodingmachine/php:8.2-v4-cli](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli) | `8.2.x` | fat | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-cli.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-cli) -| [thecodingmachine/php:8.2-v4-cli-node10](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `8.2.x` | fat | cli | `10.x`(2) | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-cli-node10.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-cli-node10) -| [thecodingmachine/php:8.2-v4-cli-node12](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `8.2.x` | fat | cli | `12.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-cli-node12.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-cli-node12) -| [thecodingmachine/php:8.2-v4-cli-node14](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `8.2.x` | fat | cli | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-cli-node14.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-cli-node14) -| [thecodingmachine/php:8.2-v4-cli-node16](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `8.2.x` | fat | cli | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-cli-node16.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-cli-node16) -| [thecodingmachine/php:8.2-v4-cli-node18](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `8.2.x` | fat | cli | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-cli-node18.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-cli-node18) -| [thecodingmachine/php:8.2-v4-slim-apache](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.apache) | `8.2.x` | slim | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-slim-apache.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-slim-apache) -| [thecodingmachine/php:8.2-v4-slim-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.fpm) | `8.2.x` | slim | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-slim-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-slim-fpm) -| [thecodingmachine/php:8.2-v4-slim-cli](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.cli) | `8.2.x` | slim | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v4-slim-cli.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v4-slim-cli) -| [thecodingmachine/php:8.1-v4-apache](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache) | `8.1.x` | fat | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-apache.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-apache) -| [thecodingmachine/php:8.1-v4-apache-node10](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `8.1.x` | fat | apache | `10.x`(2) | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-apache-node10.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-apache-node10) -| [thecodingmachine/php:8.1-v4-apache-node12](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `8.1.x` | fat | apache | `12.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-apache-node12.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-apache-node12) -| [thecodingmachine/php:8.1-v4-apache-node14](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `8.1.x` | fat | apache | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-apache-node14.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-apache-node14) -| [thecodingmachine/php:8.1-v4-apache-node16](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `8.1.x` | fat | apache | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-apache-node16.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-apache-node16) -| [thecodingmachine/php:8.1-v4-apache-node18](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `8.1.x` | fat | apache | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-apache-node18.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-apache-node18) -| [thecodingmachine/php:8.1-v4-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm) | `8.1.x` | fat | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-fpm) -| [thecodingmachine/php:8.1-v4-fpm-node10](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `8.1.x` | fat | fpm | `10.x`(2) | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-fpm-node10.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-fpm-node10) -| [thecodingmachine/php:8.1-v4-fpm-node12](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `8.1.x` | fat | fpm | `12.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-fpm-node12.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-fpm-node12) -| [thecodingmachine/php:8.1-v4-fpm-node14](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `8.1.x` | fat | fpm | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-fpm-node14.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-fpm-node14) -| [thecodingmachine/php:8.1-v4-fpm-node16](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `8.1.x` | fat | fpm | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-fpm-node16.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-fpm-node16) -| [thecodingmachine/php:8.1-v4-fpm-node18](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `8.1.x` | fat | fpm | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-fpm-node18.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-fpm-node18) -| [thecodingmachine/php:8.1-v4-cli](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli) | `8.1.x` | fat | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-cli.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-cli) -| [thecodingmachine/php:8.1-v4-cli-node10](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `8.1.x` | fat | cli | `10.x`(2) | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-cli-node10.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-cli-node10) -| [thecodingmachine/php:8.1-v4-cli-node12](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `8.1.x` | fat | cli | `12.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-cli-node12.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-cli-node12) -| [thecodingmachine/php:8.1-v4-cli-node14](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `8.1.x` | fat | cli | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-cli-node14.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-cli-node14) -| [thecodingmachine/php:8.1-v4-cli-node16](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `8.1.x` | fat | cli | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-cli-node16.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-cli-node16) -| [thecodingmachine/php:8.1-v4-cli-node18](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `8.1.x` | fat | cli | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-cli-node18.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-cli-node18) -| [thecodingmachine/php:8.1-v4-slim-apache](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.apache) | `8.1.x` | slim | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-slim-apache.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-slim-apache) -| [thecodingmachine/php:8.1-v4-slim-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.fpm) | `8.1.x` | slim | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-slim-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-slim-fpm) -| [thecodingmachine/php:8.1-v4-slim-cli](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.cli) | `8.1.x` | slim | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v4-slim-cli.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v4-slim-cli) -| [thecodingmachine/php:8.0-v4-apache](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache) | `8.0.x` | fat | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-apache.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-apache) -| [thecodingmachine/php:8.0-v4-apache-node10](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `8.0.x` | fat | apache | `10.x`(2) | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-apache-node10.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-apache-node10) -| [thecodingmachine/php:8.0-v4-apache-node12](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `8.0.x` | fat | apache | `12.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-apache-node12.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-apache-node12) -| [thecodingmachine/php:8.0-v4-apache-node14](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `8.0.x` | fat | apache | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-apache-node14.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-apache-node14) -| [thecodingmachine/php:8.0-v4-apache-node16](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `8.0.x` | fat | apache | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-apache-node16.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-apache-node16) -| [thecodingmachine/php:8.0-v4-apache-node18](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `8.0.x` | fat | apache | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-apache-node18.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-apache-node18) -| [thecodingmachine/php:8.0-v4-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm) | `8.0.x` | fat | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-fpm) -| [thecodingmachine/php:8.0-v4-fpm-node10](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `8.0.x` | fat | fpm | `10.x`(2) | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-fpm-node10.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-fpm-node10) -| [thecodingmachine/php:8.0-v4-fpm-node12](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `8.0.x` | fat | fpm | `12.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-fpm-node12.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-fpm-node12) -| [thecodingmachine/php:8.0-v4-fpm-node14](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `8.0.x` | fat | fpm | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-fpm-node14.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-fpm-node14) -| [thecodingmachine/php:8.0-v4-fpm-node16](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `8.0.x` | fat | fpm | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-fpm-node16.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-fpm-node16) -| [thecodingmachine/php:8.0-v4-fpm-node18](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `8.0.x` | fat | fpm | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-fpm-node18.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-fpm-node18) -| [thecodingmachine/php:8.0-v4-cli](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli) | `8.0.x` | fat | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-cli.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-cli) -| [thecodingmachine/php:8.0-v4-cli-node10](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `8.0.x` | fat | cli | `10.x`(2) | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-cli-node10.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-cli-node10) -| [thecodingmachine/php:8.0-v4-cli-node12](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `8.0.x` | fat | cli | `12.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-cli-node12.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-cli-node12) -| [thecodingmachine/php:8.0-v4-cli-node14](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `8.0.x` | fat | cli | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-cli-node14.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-cli-node14) -| [thecodingmachine/php:8.0-v4-cli-node16](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `8.0.x` | fat | cli | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-cli-node16.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-cli-node16) -| [thecodingmachine/php:8.0-v4-cli-node18](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `8.0.x` | fat | cli | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-cli-node18.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-cli-node18) -| [thecodingmachine/php:8.0-v4-slim-apache](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.apache) | `8.0.x` | slim | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-slim-apache.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-slim-apache) -| [thecodingmachine/php:8.0-v4-slim-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.fpm) | `8.0.x` | slim | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-slim-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-slim-fpm) -| [thecodingmachine/php:8.0-v4-slim-cli](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.cli) | `8.0.x` | slim | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v4-slim-cli.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v4-slim-cli) -| [thecodingmachine/php:7.4-v4-apache](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache) | `7.4.x` | fat | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-apache.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-apache) -| [thecodingmachine/php:7.4-v4-apache-node10](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `7.4.x` | fat | apache | `10.x`(2) | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-apache-node10.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-apache-node10) -| [thecodingmachine/php:7.4-v4-apache-node12](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `7.4.x` | fat | apache | `12.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-apache-node12.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-apache-node12) -| [thecodingmachine/php:7.4-v4-apache-node14](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `7.4.x` | fat | apache | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-apache-node14.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-apache-node14) -| [thecodingmachine/php:7.4-v4-apache-node16](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `7.4.x` | fat | apache | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-apache-node16.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-apache-node16) -| [thecodingmachine/php:7.4-v4-apache-node18](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `7.4.x` | fat | apache | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-apache-node18.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-apache-node18) -| [thecodingmachine/php:7.4-v4-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm) | `7.4.x` | fat | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-fpm) -| [thecodingmachine/php:7.4-v4-fpm-node10](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `7.4.x` | fat | fpm | `10.x`(2) | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-fpm-node10.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-fpm-node10) -| [thecodingmachine/php:7.4-v4-fpm-node12](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `7.4.x` | fat | fpm | `12.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-fpm-node12.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-fpm-node12) -| [thecodingmachine/php:7.4-v4-fpm-node14](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `7.4.x` | fat | fpm | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-fpm-node14.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-fpm-node14) -| [thecodingmachine/php:7.4-v4-fpm-node16](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `7.4.x` | fat | fpm | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-fpm-node16.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-fpm-node16) -| [thecodingmachine/php:7.4-v4-fpm-node18](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `7.4.x` | fat | fpm | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-fpm-node18.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-fpm-node18) -| [thecodingmachine/php:7.4-v4-cli](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli) | `7.4.x` | fat | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-cli.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-cli) -| [thecodingmachine/php:7.4-v4-cli-node10](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `7.4.x` | fat | cli | `10.x`(2) | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-cli-node10.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-cli-node10) -| [thecodingmachine/php:7.4-v4-cli-node12](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `7.4.x` | fat | cli | `12.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-cli-node12.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-cli-node12) -| [thecodingmachine/php:7.4-v4-cli-node14](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `7.4.x` | fat | cli | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-cli-node14.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-cli-node14) -| [thecodingmachine/php:7.4-v4-cli-node16](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `7.4.x` | fat | cli | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-cli-node16.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-cli-node16) -| [thecodingmachine/php:7.4-v4-cli-node18](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `7.4.x` | fat | cli | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-cli-node18.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-cli-node18) -| [thecodingmachine/php:7.4-v4-slim-apache](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.apache) | `7.4.x` | slim | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-slim-apache.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-slim-apache) -| [thecodingmachine/php:7.4-v4-slim-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.fpm) | `7.4.x` | slim | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-slim-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-slim-fpm) -| [thecodingmachine/php:7.4-v4-slim-cli](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.cli) | `7.4.x` | slim | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v4-slim-cli.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v4-slim-cli) -| [thecodingmachine/php:7.3-v4-apache](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache) | `7.3.x`(1) | fat | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-apache.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-apache) -| [thecodingmachine/php:7.3-v4-apache-node10](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `7.3.x`(1) | fat | apache | `10.x`(2) | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-apache-node10.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-apache-node10) -| [thecodingmachine/php:7.3-v4-apache-node12](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `7.3.x`(1) | fat | apache | `12.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-apache-node12.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-apache-node12) -| [thecodingmachine/php:7.3-v4-apache-node14](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `7.3.x`(1) | fat | apache | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-apache-node14.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-apache-node14) -| [thecodingmachine/php:7.3-v4-apache-node16](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `7.3.x`(1) | fat | apache | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-apache-node16.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-apache-node16) -| [thecodingmachine/php:7.3-v4-apache-node18](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `7.3.x`(1) | fat | apache | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-apache-node18.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-apache-node18) -| [thecodingmachine/php:7.3-v4-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm) | `7.3.x`(1) | fat | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-fpm) -| [thecodingmachine/php:7.3-v4-fpm-node10](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `7.3.x`(1) | fat | fpm | `10.x`(2) | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-fpm-node10.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-fpm-node10) -| [thecodingmachine/php:7.3-v4-fpm-node12](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `7.3.x`(1) | fat | fpm | `12.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-fpm-node12.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-fpm-node12) -| [thecodingmachine/php:7.3-v4-fpm-node14](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `7.3.x`(1) | fat | fpm | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-fpm-node14.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-fpm-node14) -| [thecodingmachine/php:7.3-v4-fpm-node16](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `7.3.x`(1) | fat | fpm | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-fpm-node16.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-fpm-node16) -| [thecodingmachine/php:7.3-v4-fpm-node18](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `7.3.x`(1) | fat | fpm | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-fpm-node18.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-fpm-node18) -| [thecodingmachine/php:7.3-v4-cli](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli) | `7.3.x`(1) | fat | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-cli.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-cli) -| [thecodingmachine/php:7.3-v4-cli-node10](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `7.3.x`(1) | fat | cli | `10.x`(2) | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-cli-node10.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-cli-node10) -| [thecodingmachine/php:7.3-v4-cli-node12](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `7.3.x`(1) | fat | cli | `12.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-cli-node12.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-cli-node12) -| [thecodingmachine/php:7.3-v4-cli-node14](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `7.3.x`(1) | fat | cli | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-cli-node14.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-cli-node14) -| [thecodingmachine/php:7.3-v4-cli-node16](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `7.3.x`(1) | fat | cli | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-cli-node16.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-cli-node16) -| [thecodingmachine/php:7.3-v4-cli-node18](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `7.3.x`(1) | fat | cli | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-cli-node18.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-cli-node18) -| [thecodingmachine/php:7.3-v4-slim-apache](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.apache) | `7.3.x`(1) | slim | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-slim-apache.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-slim-apache) -| [thecodingmachine/php:7.3-v4-slim-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.fpm) | `7.3.x`(1) | slim | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-slim-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-slim-fpm) -| [thecodingmachine/php:7.3-v4-slim-cli](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.cli) | `7.3.x`(1) | slim | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v4-slim-cli.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v4-slim-cli) -| [thecodingmachine/php:7.2-v4-apache](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache) | `7.2.x`(1) | fat | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-apache.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-apache) -| [thecodingmachine/php:7.2-v4-apache-node10](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `7.2.x`(1) | fat | apache | `10.x`(2) | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-apache-node10.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-apache-node10) -| [thecodingmachine/php:7.2-v4-apache-node12](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `7.2.x`(1) | fat | apache | `12.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-apache-node12.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-apache-node12) -| [thecodingmachine/php:7.2-v4-apache-node14](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `7.2.x`(1) | fat | apache | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-apache-node14.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-apache-node14) -| [thecodingmachine/php:7.2-v4-apache-node16](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `7.2.x`(1) | fat | apache | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-apache-node16.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-apache-node16) -| [thecodingmachine/php:7.2-v4-apache-node18](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `7.2.x`(1) | fat | apache | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-apache-node18.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-apache-node18) -| [thecodingmachine/php:7.2-v4-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm) | `7.2.x`(1) | fat | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-fpm) -| [thecodingmachine/php:7.2-v4-fpm-node10](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `7.2.x`(1) | fat | fpm | `10.x`(2) | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-fpm-node10.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-fpm-node10) -| [thecodingmachine/php:7.2-v4-fpm-node12](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `7.2.x`(1) | fat | fpm | `12.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-fpm-node12.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-fpm-node12) -| [thecodingmachine/php:7.2-v4-fpm-node14](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `7.2.x`(1) | fat | fpm | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-fpm-node14.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-fpm-node14) -| [thecodingmachine/php:7.2-v4-fpm-node16](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `7.2.x`(1) | fat | fpm | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-fpm-node16.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-fpm-node16) -| [thecodingmachine/php:7.2-v4-fpm-node18](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `7.2.x`(1) | fat | fpm | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-fpm-node18.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-fpm-node18) -| [thecodingmachine/php:7.2-v4-cli](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli) | `7.2.x`(1) | fat | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-cli.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-cli) -| [thecodingmachine/php:7.2-v4-cli-node10](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `7.2.x`(1) | fat | cli | `10.x`(2) | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-cli-node10.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-cli-node10) -| [thecodingmachine/php:7.2-v4-cli-node12](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `7.2.x`(1) | fat | cli | `12.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-cli-node12.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-cli-node12) -| [thecodingmachine/php:7.2-v4-cli-node14](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `7.2.x`(1) | fat | cli | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-cli-node14.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-cli-node14) -| [thecodingmachine/php:7.2-v4-cli-node16](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `7.2.x`(1) | fat | cli | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-cli-node16.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-cli-node16) -| [thecodingmachine/php:7.2-v4-cli-node18](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `7.2.x`(1) | fat | cli | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-cli-node18.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-cli-node18) -| [thecodingmachine/php:7.2-v4-slim-apache](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.apache) | `7.2.x`(1) | slim | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-slim-apache.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-slim-apache) -| [thecodingmachine/php:7.2-v4-slim-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.fpm) | `7.2.x`(1) | slim | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-slim-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-slim-fpm) -| [thecodingmachine/php:7.2-v4-slim-cli](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.cli) | `7.2.x`(1) | slim | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v4-slim-cli.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v4-slim-cli) +| [thecodingmachine/php:8.2-v5-apache](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache) | `8.2.x` | fat | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v5-apache.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v5-apache) +| [thecodingmachine/php:8.2-v5-apache-node14](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `8.2.x` | fat | apache | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v5-apache-node14.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v5-apache-node14) +| [thecodingmachine/php:8.2-v5-apache-node16](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `8.2.x` | fat | apache | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v5-apache-node16.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v5-apache-node16) +| [thecodingmachine/php:8.2-v5-apache-node18](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `8.2.x` | fat | apache | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v5-apache-node18.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v5-apache-node18) +| [thecodingmachine/php:8.2-v5-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm) | `8.2.x` | fat | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v5-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v5-fpm) +| [thecodingmachine/php:8.2-v5-fpm-node14](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `8.2.x` | fat | fpm | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v5-fpm-node14.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v5-fpm-node14) +| [thecodingmachine/php:8.2-v5-fpm-node16](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `8.2.x` | fat | fpm | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v5-fpm-node16.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v5-fpm-node16) +| [thecodingmachine/php:8.2-v5-fpm-node18](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `8.2.x` | fat | fpm | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v5-fpm-node18.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v5-fpm-node18) +| [thecodingmachine/php:8.2-v5-cli](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli) | `8.2.x` | fat | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v5-cli.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v5-cli) +| [thecodingmachine/php:8.2-v5-cli-node14](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `8.2.x` | fat | cli | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v5-cli-node14.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v5-cli-node14) +| [thecodingmachine/php:8.2-v5-cli-node16](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `8.2.x` | fat | cli | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v5-cli-node16.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v5-cli-node16) +| [thecodingmachine/php:8.2-v5-cli-node18](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `8.2.x` | fat | cli | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v5-cli-node18.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v5-cli-node18) +| [thecodingmachine/php:8.2-v5-slim-apache](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.apache) | `8.2.x` | slim | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v5-slim-apache.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v5-slim-apache) +| [thecodingmachine/php:8.2-v5-slim-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.fpm) | `8.2.x` | slim | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v5-slim-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v5-slim-fpm) +| [thecodingmachine/php:8.2-v5-slim-cli](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.cli) | `8.2.x` | slim | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.2-v5-slim-cli.svg)](https://microbadger.com/images/thecodingmachine/php:8.2-v5-slim-cli) +| [thecodingmachine/php:8.1-v5-apache](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache) | `8.1.x` | fat | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v5-apache.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v5-apache) +| [thecodingmachine/php:8.1-v5-apache-node14](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `8.1.x` | fat | apache | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v5-apache-node14.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v5-apache-node14) +| [thecodingmachine/php:8.1-v5-apache-node16](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `8.1.x` | fat | apache | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v5-apache-node16.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v5-apache-node16) +| [thecodingmachine/php:8.1-v5-apache-node18](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `8.1.x` | fat | apache | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v5-apache-node18.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v5-apache-node18) +| [thecodingmachine/php:8.1-v5-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm) | `8.1.x` | fat | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v5-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v5-fpm) +| [thecodingmachine/php:8.1-v5-fpm-node14](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `8.1.x` | fat | fpm | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v5-fpm-node14.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v5-fpm-node14) +| [thecodingmachine/php:8.1-v5-fpm-node16](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `8.1.x` | fat | fpm | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v5-fpm-node16.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v5-fpm-node16) +| [thecodingmachine/php:8.1-v5-fpm-node18](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `8.1.x` | fat | fpm | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v5-fpm-node18.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v5-fpm-node18) +| [thecodingmachine/php:8.1-v5-cli](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli) | `8.1.x` | fat | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v5-cli.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v5-cli) +| [thecodingmachine/php:8.1-v5-cli-node14](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `8.1.x` | fat | cli | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v5-cli-node14.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v5-cli-node14) +| [thecodingmachine/php:8.1-v5-cli-node16](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `8.1.x` | fat | cli | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v5-cli-node16.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v5-cli-node16) +| [thecodingmachine/php:8.1-v5-cli-node18](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `8.1.x` | fat | cli | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v5-cli-node18.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v5-cli-node18) +| [thecodingmachine/php:8.1-v5-slim-apache](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.apache) | `8.1.x` | slim | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v5-slim-apache.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v5-slim-apache) +| [thecodingmachine/php:8.1-v5-slim-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.fpm) | `8.1.x` | slim | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v5-slim-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v5-slim-fpm) +| [thecodingmachine/php:8.1-v5-slim-cli](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.cli) | `8.1.x` | slim | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.1-v5-slim-cli.svg)](https://microbadger.com/images/thecodingmachine/php:8.1-v5-slim-cli) +| [thecodingmachine/php:8.0-v5-apache](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache) | `8.0.x` | fat | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v5-apache.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v5-apache) +| [thecodingmachine/php:8.0-v5-apache-node14](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `8.0.x` | fat | apache | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v5-apache-node14.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v5-apache-node14) +| [thecodingmachine/php:8.0-v5-apache-node16](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `8.0.x` | fat | apache | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v5-apache-node16.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v5-apache-node16) +| [thecodingmachine/php:8.0-v5-apache-node18](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `8.0.x` | fat | apache | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v5-apache-node18.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v5-apache-node18) +| [thecodingmachine/php:8.0-v5-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm) | `8.0.x` | fat | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v5-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v5-fpm) +| [thecodingmachine/php:8.0-v5-fpm-node14](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `8.0.x` | fat | fpm | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v5-fpm-node14.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v5-fpm-node14) +| [thecodingmachine/php:8.0-v5-fpm-node16](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `8.0.x` | fat | fpm | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v5-fpm-node16.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v5-fpm-node16) +| [thecodingmachine/php:8.0-v5-fpm-node18](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `8.0.x` | fat | fpm | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v5-fpm-node18.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v5-fpm-node18) +| [thecodingmachine/php:8.0-v5-cli](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli) | `8.0.x` | fat | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v5-cli.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v5-cli) +| [thecodingmachine/php:8.0-v5-cli-node14](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `8.0.x` | fat | cli | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v5-cli-node14.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v5-cli-node14) +| [thecodingmachine/php:8.0-v5-cli-node16](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `8.0.x` | fat | cli | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v5-cli-node16.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v5-cli-node16) +| [thecodingmachine/php:8.0-v5-cli-node18](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `8.0.x` | fat | cli | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v5-cli-node18.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v5-cli-node18) +| [thecodingmachine/php:8.0-v5-slim-apache](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.apache) | `8.0.x` | slim | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v5-slim-apache.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v5-slim-apache) +| [thecodingmachine/php:8.0-v5-slim-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.fpm) | `8.0.x` | slim | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v5-slim-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v5-slim-fpm) +| [thecodingmachine/php:8.0-v5-slim-cli](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.cli) | `8.0.x` | slim | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:8.0-v5-slim-cli.svg)](https://microbadger.com/images/thecodingmachine/php:8.0-v5-slim-cli) +| [thecodingmachine/php:7.4-v5-apache](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache) | `7.4.x` | fat | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v5-apache.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v5-apache) +| [thecodingmachine/php:7.4-v5-apache-node14](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `7.4.x` | fat | apache | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v5-apache-node14.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v5-apache-node14) +| [thecodingmachine/php:7.4-v5-apache-node16](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `7.4.x` | fat | apache | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v5-apache-node16.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v5-apache-node16) +| [thecodingmachine/php:7.4-v5-apache-node18](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `7.4.x` | fat | apache | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v5-apache-node18.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v5-apache-node18) +| [thecodingmachine/php:7.4-v5-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm) | `7.4.x` | fat | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v5-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v5-fpm) +| [thecodingmachine/php:7.4-v5-fpm-node14](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `7.4.x` | fat | fpm | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v5-fpm-node14.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v5-fpm-node14) +| [thecodingmachine/php:7.4-v5-fpm-node16](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `7.4.x` | fat | fpm | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v5-fpm-node16.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v5-fpm-node16) +| [thecodingmachine/php:7.4-v5-fpm-node18](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `7.4.x` | fat | fpm | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v5-fpm-node18.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v5-fpm-node18) +| [thecodingmachine/php:7.4-v5-cli](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli) | `7.4.x` | fat | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v5-cli.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v5-cli) +| [thecodingmachine/php:7.4-v5-cli-node14](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `7.4.x` | fat | cli | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v5-cli-node14.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v5-cli-node14) +| [thecodingmachine/php:7.4-v5-cli-node16](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `7.4.x` | fat | cli | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v5-cli-node16.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v5-cli-node16) +| [thecodingmachine/php:7.4-v5-cli-node18](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `7.4.x` | fat | cli | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v5-cli-node18.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v5-cli-node18) +| [thecodingmachine/php:7.4-v5-slim-apache](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.apache) | `7.4.x` | slim | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v5-slim-apache.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v5-slim-apache) +| [thecodingmachine/php:7.4-v5-slim-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.fpm) | `7.4.x` | slim | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v5-slim-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v5-slim-fpm) +| [thecodingmachine/php:7.4-v5-slim-cli](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.cli) | `7.4.x` | slim | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.4-v5-slim-cli.svg)](https://microbadger.com/images/thecodingmachine/php:7.4-v5-slim-cli) +| [thecodingmachine/php:7.3-v5-apache](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache) | `7.3.x`(1) | fat | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v5-apache.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v5-apache) +| [thecodingmachine/php:7.3-v5-apache-node14](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `7.3.x`(1) | fat | apache | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v5-apache-node14.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v5-apache-node14) +| [thecodingmachine/php:7.3-v5-apache-node16](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `7.3.x`(1) | fat | apache | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v5-apache-node16.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v5-apache-node16) +| [thecodingmachine/php:7.3-v5-apache-node18](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `7.3.x`(1) | fat | apache | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v5-apache-node18.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v5-apache-node18) +| [thecodingmachine/php:7.3-v5-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm) | `7.3.x`(1) | fat | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v5-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v5-fpm) +| [thecodingmachine/php:7.3-v5-fpm-node14](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `7.3.x`(1) | fat | fpm | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v5-fpm-node14.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v5-fpm-node14) +| [thecodingmachine/php:7.3-v5-fpm-node16](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `7.3.x`(1) | fat | fpm | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v5-fpm-node16.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v5-fpm-node16) +| [thecodingmachine/php:7.3-v5-fpm-node18](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `7.3.x`(1) | fat | fpm | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v5-fpm-node18.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v5-fpm-node18) +| [thecodingmachine/php:7.3-v5-cli](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli) | `7.3.x`(1) | fat | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v5-cli.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v5-cli) +| [thecodingmachine/php:7.3-v5-cli-node14](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `7.3.x`(1) | fat | cli | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v5-cli-node14.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v5-cli-node14) +| [thecodingmachine/php:7.3-v5-cli-node16](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `7.3.x`(1) | fat | cli | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v5-cli-node16.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v5-cli-node16) +| [thecodingmachine/php:7.3-v5-cli-node18](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `7.3.x`(1) | fat | cli | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v5-cli-node18.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v5-cli-node18) +| [thecodingmachine/php:7.3-v5-slim-apache](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.apache) | `7.3.x`(1) | slim | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v5-slim-apache.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v5-slim-apache) +| [thecodingmachine/php:7.3-v5-slim-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.fpm) | `7.3.x`(1) | slim | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v5-slim-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v5-slim-fpm) +| [thecodingmachine/php:7.3-v5-slim-cli](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.cli) | `7.3.x`(1) | slim | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.3-v5-slim-cli.svg)](https://microbadger.com/images/thecodingmachine/php:7.3-v5-slim-cli) +| [thecodingmachine/php:7.2-v5-apache](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache) | `7.2.x`(1) | fat | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v5-apache.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v5-apache) +| [thecodingmachine/php:7.2-v5-apache-node14](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `7.2.x`(1) | fat | apache | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v5-apache-node14.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v5-apache-node14) +| [thecodingmachine/php:7.2-v5-apache-node16](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `7.2.x`(1) | fat | apache | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v5-apache-node16.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v5-apache-node16) +| [thecodingmachine/php:7.2-v5-apache-node18](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `7.2.x`(1) | fat | apache | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v5-apache-node18.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v5-apache-node18) +| [thecodingmachine/php:7.2-v5-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm) | `7.2.x`(1) | fat | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v5-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v5-fpm) +| [thecodingmachine/php:7.2-v5-fpm-node14](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `7.2.x`(1) | fat | fpm | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v5-fpm-node14.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v5-fpm-node14) +| [thecodingmachine/php:7.2-v5-fpm-node16](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `7.2.x`(1) | fat | fpm | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v5-fpm-node16.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v5-fpm-node16) +| [thecodingmachine/php:7.2-v5-fpm-node18](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `7.2.x`(1) | fat | fpm | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v5-fpm-node18.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v5-fpm-node18) +| [thecodingmachine/php:7.2-v5-cli](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli) | `7.2.x`(1) | fat | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v5-cli.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v5-cli) +| [thecodingmachine/php:7.2-v5-cli-node14](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `7.2.x`(1) | fat | cli | `14.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v5-cli-node14.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v5-cli-node14) +| [thecodingmachine/php:7.2-v5-cli-node16](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `7.2.x`(1) | fat | cli | `16.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v5-cli-node16.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v5-cli-node16) +| [thecodingmachine/php:7.2-v5-cli-node18](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `7.2.x`(1) | fat | cli | `18.x` | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v5-cli-node18.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v5-cli-node18) +| [thecodingmachine/php:7.2-v5-slim-apache](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.apache) | `7.2.x`(1) | slim | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v5-slim-apache.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v5-slim-apache) +| [thecodingmachine/php:7.2-v5-slim-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.fpm) | `7.2.x`(1) | slim | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v5-slim-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v5-slim-fpm) +| [thecodingmachine/php:7.2-v5-slim-cli](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.cli) | `7.2.x`(1) | slim | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:7.2-v5-slim-cli.svg)](https://microbadger.com/images/thecodingmachine/php:7.2-v5-slim-cli) * (1) [PHP 7.2 and 7.3 are end of life](https://www.php.net/supported-versions.php) * (2) [Node 10 is end of life](https://nodejs.org/en/about/releases/) -Note: we also tag patch releases of PHP versions. So you can specify a specific patch release using thecodingmachine/php:**8.0.2**-v4-cli for instance. +Note: we also tag patch releases of PHP versions. So you can specify a specific patch release using thecodingmachine/php:**8.0.2**-v5-cli for instance. However, unless you have a **very specific need** (for instance if the latest patch release of PHP introduced regressions), believe you have no valid reason to ask explicitly for 8.0.2 for instance. When 8.0.3 is out, you certainly want to upgrade automatically to this patch release since patch releases contain only bugfixes. Also, we automatically rebuild X.Y images every week, but only the latest X.Y.Z patch release gets a rebuild. The other patch releases are frozen in time and will contain bugs and security issues. So use those with great care. @@ -168,26 +132,26 @@ These images are based on the [official PHP image](https://hub.docker.com/_/php/ Example with CLI: ```bash -$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/app thecodingmachine/php:8.2-v4-cli php your-script.php +$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/app thecodingmachine/php:8.2-v5-cli php your-script.php ``` Example with Apache: ```bash -$ docker run -p 80:80 --rm --name my-apache-php-app -v "$PWD":/var/www/html thecodingmachine/php:8.2-v4-apache +$ docker run -p 80:80 --rm --name my-apache-php-app -v "$PWD":/var/www/html thecodingmachine/php:8.2-v5-apache ``` Example with PHP-FPM: ```bash -$ docker run -p 9000:9000 --rm --name my-php-fpm -v "$PWD":/var/www/html thecodingmachine/php:8.2-v4-fpm +$ docker run -p 9000:9000 --rm --name my-php-fpm -v "$PWD":/var/www/html thecodingmachine/php:8.2-v5-fpm ``` Example with Apache + Node 14.x in a Dockerfile: **Dockerfile** ```Dockerfile -FROM thecodingmachine/php:8.2-v4-apache-node14 +FROM thecodingmachine/php:8.2-v5-apache-node14 COPY src/ /var/www/html/ RUN composer install @@ -201,7 +165,7 @@ This image comes with 2 "types": the *slim* and the **fat** image. These extensions are enabled by default in slim image: `calendar` `ctype` `curl` `date` `dom` `exif` `fileinfo` `filter` `ftp` `gettext` `iconv` `json` `mbstring` `opcache` `openssl` `pcntl` `pcre` `PDO` `Phar` `posix` `readline` `shmop` `Reflection` `session` `shmop` `SimpleXML` `sockets` `sodium` `SPL` `sysvmsg` `sysvsem` `sysvshm` `tokenizer` `xml` `xmlreader` `xmlwriter` `xsl` `zip` -This list can be outdated, you can verify by executing : `docker run --rm -it thecodingmachine/php:8.2-v4-slim-cli php -m` +This list can be outdated, you can verify by executing : `docker run --rm -it thecodingmachine/php:8.2-v5-slim-cli php -m` The slim image provides a simple way to install the other extensions. You would typically use the "slim" image in a `Dockerfile` when building your own custom image. @@ -215,7 +179,7 @@ Below is a list of extensions available in this image: **Available (can be enabled using environment variables):** `amqp` `ast` `bcmath` `blackfire` `bz2` `dba` `ds` `enchant` `ev` `event` `exif` `ffi` `mailparse` `msgpack` `gd` `gettext` `gmp` `gnupg` `grpc` `igbinary` `imagick` `imap` `intl` `ldap` `mcrypt` `memcached` `mongodb` `pcov` `pdo_dblib` `pdo_pgsql` `pdo_sqlite` `pgsql` `pspell` `shmop` `snmp` `sockets` `sqlite3` `swoole` `tidy` `uploadprogress` `uuid` `weakref(-beta)` `xdebug` `xmlrpc` `xsl` `yaml` -This list can be outdated, you can verify by executing : `docker run --rm -it thecodingmachine/php:8.2-v4-cli php -m` +This list can be outdated, you can verify by executing : `docker run --rm -it thecodingmachine/php:8.2-v5-cli php -m` **Note**: @@ -236,7 +200,7 @@ For instance: version: '3' services: my_app: - image: thecodingmachine/php:8.2-v4-apache-node16 + image: thecodingmachine/php:8.2-v5-apache-node16 environment: # Enable the PostgreSQL extension PHP_EXTENSION_PGSQL: 1 @@ -256,7 +220,7 @@ If you are using the slim image, you can automatically compile the extensions us ```Dockerfile ARG PHP_EXTENSIONS="apcu mysqli pdo_mysql redis soap" -FROM thecodingmachine/php:8.2-v4-slim-apache +FROM thecodingmachine/php:8.2-v5-slim-apache # The build will automatically trigger the download and compilation # of the extensions (thanks to a ONBUILD hook in the slim image) ``` @@ -272,7 +236,7 @@ first FROM): # The PHP_EXTENSIONS ARG will apply to the "slim" image ARG PHP_EXTENSIONS="apcu mysqli pdo_mysql soap" -FROM thecodingmachine/php:8.2-v4-apache-node16 AS builder +FROM thecodingmachine/php:8.2-v5-apache-node16 AS builder COPY --chown=docker:docker sources/web . RUN composer install &&\ @@ -280,7 +244,7 @@ RUN composer install &&\ yarn build # The slim image will automatically build the extensions from the list provided at the very top of the file. -FROM thecodingmachine/php:7.2-v4-slim-apache +FROM thecodingmachine/php:7.2-v5-slim-apache ENV APP_ENV=prod \ APACHE_DOCUMENT_ROOT=public/ @@ -308,7 +272,7 @@ You can override parameters in `php.ini` using the PHP_INI_XXX environment varia version: '3' services: my_app: - image: thecodingmachine/php:8.2-v4-apache-node16 + image: thecodingmachine/php:8.2-v5-apache-node16 environment: # set the parameter memory_limit=1g PHP_INI_MEMORY_LIMIT: 1g @@ -370,7 +334,7 @@ For instance: version: '3' services: my_app: - image: thecodingmachine/php:8.2-v4-apache-node16 + image: thecodingmachine/php:8.2-v5-apache-node16 environment: # Enable the DAV extension for Apache APACHE_EXTENSION_DAV: 1 @@ -388,7 +352,7 @@ APACHE_EXTENSIONS="dav ssl" **Apache modules available:** `access_compat` `actions` `alias` `allowmethods` `asis` `auth_basic` `auth_digest` `auth_form` `authn_anon` `authn_core` `authn_dbd` `authn_dbm` `authn_file` `authn_socache` `authnz_fcgi` `authnz_ldap` `authz_core` `authz_dbd` `authz_dbm` `authz_groupfile` `authz_host` `authz_owner` `authz_user` `autoindex` `brotli` `buffer` `cache` `cache_disk` `cache_socache` `cern_meta` `cgi` `cgid` `charset_lite` `data` `dav` `dav_fs` `dav_lock` `dbd` `deflate` `dialup` `dir` `dump_io` `echo` `env` `ext_filter` `expires` `file_cache` `filter` `headers` `heartbeat` `heartmonitor` `http2` `ident` `imagemap` `include` `info` `lbmethod_bybusyness` `lbmethod_byrequests` `lbmethod_bytraffic` `lbmethod_heartbeat` `ldap` `log_debug` `log_forensic` `lua` `macro` `md` `mime` `mime_magic` `mpm_event` `mpm_prefork` `mpm_worker` `negotiation` `php8.0 (depend of your active version)` `proxy` `proxy_ajp` `proxy_balancer` `proxy_connect` `proxy_express` `proxy_fcgi` `proxy_fdpass` `proxy_ftp` `proxy_hcheck` `proxy_html` `proxy_http` `proxy_http2` `proxy_scgi` `proxy_wstunnel` `ratelimit` `reflector` `remoteip` `reqtimeout` `request` `rewrite` `sed` `session` `session_cookie` `session_crypto` `session_dbd` `setenvif` `slotmem_plain` `slotmem_shm` `socache_dbm` `socache_memcache` `socache_redis` `socache_shmcb` `speling` `ssl` `status` `substitute` `suexec` `unique_id` `userdir` `usertrack` `vhost_alias` `xml2enc` -This list can be outdated, you can verify by executing : `docker run --rm -it thecodingmachine/php:8.2-v4-slim-apache a2enmod` +This list can be outdated, you can verify by executing : `docker run --rm -it thecodingmachine/php:8.2-v5-slim-apache a2enmod` ## Debugging @@ -417,20 +381,20 @@ In that case the manually set value takes precedence over the mentioned ones abo ## NodeJS -The *fat* images come with a Node variant. You can use Node 10, 12, 14 or 16. If you need a Node 8 variant, [use thecodingmachine/php v3 images](https://github.com/thecodingmachine/docker-images-php/tree/v3). If you need a Node 6 variant, [use thecodingmachine/php v1 images](https://github.com/thecodingmachine/docker-images-php/tree/7.2-v1). +The *fat* images come with a Node variant. You can use Node 14, 16 or 18. If you need a Node 12/10 variant, [use thecodingmachine/php v4 images](https://github.com/thecodingmachine/docker-images-php/tree/v4). If you need a Node 8 variant, [use thecodingmachine/php v3 images](https://github.com/thecodingmachine/docker-images-php/tree/v3). If you need a Node 6 variant, [use thecodingmachine/php v1 images](https://github.com/thecodingmachine/docker-images-php/tree/7.2-v1). If you use the *slim* images, you can install a NodeJS version with a simple ARG during the build: ```Dockerfile ARG NODE_VERSION=14 -FROM thecodingmachine/php:8.2-v4-slim-apache +FROM thecodingmachine/php:8.2-v5-slim-apache # The build will automatically trigger the download of Node 14 # (thanks to a ONBUILD hook in the slim image) ``` Beware! The `ARG NODE_VERSION` command must be written before the `FROM`. This is not a typo. -`NODE_VERSION` can take any valid node versions (from 6 to 11 at the time of writing this README) +`NODE_VERSION` can take any valid node versions (from 6 to 18 at the time of writing this README) ## Permissions @@ -476,7 +440,7 @@ This can be done easily: **Dockerfile** ```Dockerfile -FROM thecodingmachine/php:8.2-v4-apache +FROM thecodingmachine/php:8.2-v5-apache # ... @@ -520,7 +484,7 @@ a single argument before the "FROM" clause in your Dockerfile: ```Dockerfile ARG INSTALL_CRON=1 -FROM thecodingmachine/php:8.2-v4-slim-apache +FROM thecodingmachine/php:8.2-v5-slim-apache # The build triggers automatically the installation of Cron ``` @@ -573,12 +537,12 @@ If such a file is mounted in the image, it will be executed on container startup ```bash docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp \ - -v $PWD/my-startup-script.sh:/etc/container/startup.sh thecodingmachine/php:8.2-v4-cli php your-script.php + -v $PWD/my-startup-script.sh:/etc/container/startup.sh thecodingmachine/php:8.2-v5-cli php your-script.php ``` ## Using the CLI variant -The CLI images (thecodingmachine/php:8.2-v4-cli) expect a command to be passed in parameter. +The CLI images (thecodingmachine/php:8.2-v5-cli) expect a command to be passed in parameter. You should override the Docker "command". Important! You should not override the Docker "entrypoint". @@ -586,7 +550,7 @@ Important! You should not override the Docker "entrypoint". **Usage in a Dockerfile:** ```Dockerfile -FROM thecodingmachine/php:8.2-v4-cli +FROM thecodingmachine/php:8.2-v5-cli CMD ["php", "myprogram.php", "some_param"] ``` @@ -598,7 +562,7 @@ CMD ["php", "myprogram.php", "some_param"] version: '3' services: my_app: - image: thecodingmachine/php:8.2-v4-cli + image: thecodingmachine/php:8.2-v5-cli command: php myprogram.php some_param ``` @@ -618,7 +582,7 @@ This option is the easiest way to go if you are using the image on a development version: '3' services: my_app: - image: thecodingmachine/php:8.2-v4-apache-node16 + image: thecodingmachine/php:8.2-v5-apache-node16 volumes: - ~/.ssh:/home/docker/.ssh ``` @@ -639,7 +603,7 @@ Now, let's write a Dockerfile. **Dockerfile** ```yml -FROM thecodingmachine/php:8.2-v4-apache +FROM thecodingmachine/php:8.2-v5-apache ARG SSH_PRIVATE_KEY ARG SSH_KNOWN_HOSTS @@ -677,7 +641,7 @@ kind: Pod spec: containers: - name: foobar - image: thecodingmachine/php:8.2-v4-apache + image: thecodingmachine/php:8.2-v5-apache securityContext: allowPrivilegeEscalation: true # never use "false" here. ``` @@ -699,7 +663,7 @@ Your `docker-compose.yml` file will typically look like this: version: '3.3' services: php: - image: thecodingmachine/php:8.2-v4-apache + image: thecodingmachine/php:8.2-v5-apache ports: - "80:80" environment: @@ -725,7 +689,7 @@ If for some reason, the container name is not "blackfire", you can customize the version: '3.3' services: php: - image: thecodingmachine/php:8.2-v4-apache + image: thecodingmachine/php:8.2-v5-apache environment: PHP_EXTENSION_BLACKFIRE: 1 BLACKFIRE_AGENT: myblackfire @@ -760,7 +724,7 @@ This command will generate all the files from the "blueprint" templates. You can then test your changes using the `build-and-test.sh` command: ```bash -PHP_VERSION=8.2 BRANCH=v4 VARIANT=apache ./build-and-test.sh +PHP_VERSION=8.2 BRANCH=v5 VARIANT=apache ./build-and-test.sh ``` ### Additional environment in build-and-test.sh diff --git a/docker-bake.hcl b/docker-bake.hcl index 925c49c..535d623 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -16,126 +16,126 @@ group "php82-apache-all" { targets = [ "php82-slim-apache", "php82-apache", - "php82-apache-node18","php82-apache-node16","php82-apache-node14","php82-apache-node12","php82-apache-node10", + "php82-apache-node18","php82-apache-node16","php82-apache-node14", ] } group "php82-fpm-all" { targets = [ "php82-slim-fpm", "php82-fpm", - "php82-fpm-node18","php82-fpm-node16","php82-fpm-node14","php82-fpm-node12","php82-fpm-node10", + "php82-fpm-node18","php82-fpm-node16","php82-fpm-node14", ] } group "php82-cli-all" { targets = [ "php82-slim-cli", "php82-cli", - "php82-cli-node18","php82-cli-node16","php82-cli-node14","php82-cli-node12","php82-cli-node10", + "php82-cli-node18","php82-cli-node16","php82-cli-node14", ] } group "php81-apache-all" { targets = [ "php81-slim-apache", "php81-apache", - "php81-apache-node18","php81-apache-node16","php81-apache-node14","php81-apache-node12","php81-apache-node10", + "php81-apache-node18","php81-apache-node16","php81-apache-node14", ] } group "php81-fpm-all" { targets = [ "php81-slim-fpm", "php81-fpm", - "php81-fpm-node18","php81-fpm-node16","php81-fpm-node14","php81-fpm-node12","php81-fpm-node10", + "php81-fpm-node18","php81-fpm-node16","php81-fpm-node14", ] } group "php81-cli-all" { targets = [ "php81-slim-cli", "php81-cli", - "php81-cli-node18","php81-cli-node16","php81-cli-node14","php81-cli-node12","php81-cli-node10", + "php81-cli-node18","php81-cli-node16","php81-cli-node14", ] } group "php80-apache-all" { targets = [ "php80-slim-apache", "php80-apache", - "php80-apache-node18","php80-apache-node16","php80-apache-node14","php80-apache-node12","php80-apache-node10", + "php80-apache-node18","php80-apache-node16","php80-apache-node14", ] } group "php80-fpm-all" { targets = [ "php80-slim-fpm", "php80-fpm", - "php80-fpm-node18","php80-fpm-node16","php80-fpm-node14","php80-fpm-node12","php80-fpm-node10", + "php80-fpm-node18","php80-fpm-node16","php80-fpm-node14", ] } group "php80-cli-all" { targets = [ "php80-slim-cli", "php80-cli", - "php80-cli-node18","php80-cli-node16","php80-cli-node14","php80-cli-node12","php80-cli-node10", + "php80-cli-node18","php80-cli-node16","php80-cli-node14", ] } group "php74-apache-all" { targets = [ "php74-slim-apache", "php74-apache", - "php74-apache-node18","php74-apache-node16","php74-apache-node14","php74-apache-node12","php74-apache-node10", + "php74-apache-node18","php74-apache-node16","php74-apache-node14", ] } group "php74-fpm-all" { targets = [ "php74-slim-fpm", "php74-fpm", - "php74-fpm-node18","php74-fpm-node16","php74-fpm-node14","php74-fpm-node12","php74-fpm-node10", + "php74-fpm-node18","php74-fpm-node16","php74-fpm-node14", ] } group "php74-cli-all" { targets = [ "php74-slim-cli", "php74-cli", - "php74-cli-node18","php74-cli-node16","php74-cli-node14","php74-cli-node12","php74-cli-node10", + "php74-cli-node18","php74-cli-node16","php74-cli-node14", ] } group "php73-apache-all" { targets = [ "php73-slim-apache", "php73-apache", - "php73-apache-node18","php73-apache-node16","php73-apache-node14","php73-apache-node12","php73-apache-node10", + "php73-apache-node18","php73-apache-node16","php73-apache-node14", ] } group "php73-fpm-all" { targets = [ "php73-slim-fpm", "php73-fpm", - "php73-fpm-node18","php73-fpm-node16","php73-fpm-node14","php73-fpm-node12","php73-fpm-node10", + "php73-fpm-node18","php73-fpm-node16","php73-fpm-node14", ] } group "php73-cli-all" { targets = [ "php73-slim-cli", "php73-cli", - "php73-cli-node18","php73-cli-node16","php73-cli-node14","php73-cli-node12","php73-cli-node10", + "php73-cli-node18","php73-cli-node16","php73-cli-node14", ] } group "php72-apache-all" { targets = [ "php72-slim-apache", "php72-apache", - "php72-apache-node18","php72-apache-node16","php72-apache-node14","php72-apache-node12","php72-apache-node10", + "php72-apache-node18","php72-apache-node16","php72-apache-node14", ] } group "php72-fpm-all" { targets = [ "php72-slim-fpm", "php72-fpm", - "php72-fpm-node18","php72-fpm-node16","php72-fpm-node14","php72-fpm-node12","php72-fpm-node10", + "php72-fpm-node18","php72-fpm-node16","php72-fpm-node14", ] } group "php72-cli-all" { targets = [ "php72-slim-cli", "php72-cli", - "php72-cli-node18","php72-cli-node16","php72-cli-node14","php72-cli-node12","php72-cli-node10", + "php72-cli-node18","php72-cli-node16","php72-cli-node14", ] } @@ -163,7 +163,7 @@ variable "REPO" {default = "thecodingmachine/php"} variable "TAG_PREFIX" {default = ""} variable "PHP_PATCH_MINOR" {default = ""} variable "IS_RELEASE" {default = "0"} -variable "GLOBAL_VERSION" {default = "v4"} +variable "GLOBAL_VERSION" {default = "v5"} function "tag" { params = [PHP_VERSION, VARIANT] @@ -189,7 +189,7 @@ target "default" { ########################### ## PHP 8.2 ########################### -# thecodingmachine/php:8.2-v4-slim-apache +# thecodingmachine/php:8.2-v5-slim-apache target "php82-slim-apache" { inherits = ["default"] tags = tag("8.2", "slim-apache") @@ -200,7 +200,7 @@ target "php82-slim-apache" { } } -# thecodingmachine/php:8.2-v4-apache +# thecodingmachine/php:8.2-v5-apache target "php82-apache" { inherits = ["default"] tags = tag("8.2", "apache") @@ -215,7 +215,7 @@ target "php82-apache" { } } -# thecodingmachine/php:8.2-v4-apache-node18 +# thecodingmachine/php:8.2-v5-apache-node18 target "php82-apache-node18" { inherits = ["default"] tags = tag("8.2", "apache-node18") @@ -231,7 +231,7 @@ target "php82-apache-node18" { } } -# thecodingmachine/php:8.2-v4-apache-node16 +# thecodingmachine/php:8.2-v5-apache-node16 target "php82-apache-node16" { inherits = ["default"] tags = tag("8.2", "apache-node16") @@ -247,7 +247,7 @@ target "php82-apache-node16" { } } -# thecodingmachine/php:8.2-v4-apache-node14 +# thecodingmachine/php:8.2-v5-apache-node14 target "php82-apache-node14" { inherits = ["default"] tags = tag("8.2", "apache-node14") @@ -263,42 +263,10 @@ target "php82-apache-node14" { } } -# thecodingmachine/php:8.2-v4-apache-node12 -target "php82-apache-node12" { - inherits = ["default"] - tags = tag("8.2", "apache-node12") - dockerfile = "Dockerfile.apache.node" - args = { - PHP_VERSION = "8.2" - VARIANT = "apache-node12" - FROM_IMAGE = "fat" - NODE_VERSION = "12" - } - contexts = { - fat = "target:php82-apache" - } -} - -# thecodingmachine/php:8.2-v4-apache-node10 -target "php82-apache-node10" { - inherits = ["default"] - tags = tag("8.2", "apache-node10") - dockerfile = "Dockerfile.apache.node" - args = { - PHP_VERSION = "8.2" - VARIANT = "apache-node10" - FROM_IMAGE = "fat" - NODE_VERSION = "10" - } - contexts = { - fat = "target:php82-apache" - } -} - ########################### ## PHP 8.2 ########################### -# thecodingmachine/php:8.2-v4-slim-fpm +# thecodingmachine/php:8.2-v5-slim-fpm target "php82-slim-fpm" { inherits = ["default"] tags = tag("8.2", "slim-fpm") @@ -309,7 +277,7 @@ target "php82-slim-fpm" { } } -# thecodingmachine/php:8.2-v4-fpm +# thecodingmachine/php:8.2-v5-fpm target "php82-fpm" { inherits = ["default"] tags = tag("8.2", "fpm") @@ -324,7 +292,7 @@ target "php82-fpm" { } } -# thecodingmachine/php:8.2-v4-fpm-node18 +# thecodingmachine/php:8.2-v5-fpm-node18 target "php82-fpm-node18" { inherits = ["default"] tags = tag("8.2", "fpm-node18") @@ -340,7 +308,7 @@ target "php82-fpm-node18" { } } -# thecodingmachine/php:8.2-v4-fpm-node16 +# thecodingmachine/php:8.2-v5-fpm-node16 target "php82-fpm-node16" { inherits = ["default"] tags = tag("8.2", "fpm-node16") @@ -356,7 +324,7 @@ target "php82-fpm-node16" { } } -# thecodingmachine/php:8.2-v4-fpm-node14 +# thecodingmachine/php:8.2-v5-fpm-node14 target "php82-fpm-node14" { inherits = ["default"] tags = tag("8.2", "fpm-node14") @@ -372,42 +340,10 @@ target "php82-fpm-node14" { } } -# thecodingmachine/php:8.2-v4-fpm-node12 -target "php82-fpm-node12" { - inherits = ["default"] - tags = tag("8.2", "fpm-node12") - dockerfile = "Dockerfile.fpm.node" - args = { - PHP_VERSION = "8.2" - VARIANT = "fpm-node12" - FROM_IMAGE = "fat" - NODE_VERSION = "12" - } - contexts = { - fat = "target:php82-fpm" - } -} - -# thecodingmachine/php:8.2-v4-fpm-node10 -target "php82-fpm-node10" { - inherits = ["default"] - tags = tag("8.2", "fpm-node10") - dockerfile = "Dockerfile.fpm.node" - args = { - PHP_VERSION = "8.2" - VARIANT = "fpm-node10" - FROM_IMAGE = "fat" - NODE_VERSION = "10" - } - contexts = { - fat = "target:php82-fpm" - } -} - ########################### ## PHP 8.2 ########################### -# thecodingmachine/php:8.2-v4-slim-cli +# thecodingmachine/php:8.2-v5-slim-cli target "php82-slim-cli" { inherits = ["default"] tags = tag("8.2", "slim-cli") @@ -418,7 +354,7 @@ target "php82-slim-cli" { } } -# thecodingmachine/php:8.2-v4-cli +# thecodingmachine/php:8.2-v5-cli target "php82-cli" { inherits = ["default"] tags = tag("8.2", "cli") @@ -433,7 +369,7 @@ target "php82-cli" { } } -# thecodingmachine/php:8.2-v4-cli-node18 +# thecodingmachine/php:8.2-v5-cli-node18 target "php82-cli-node18" { inherits = ["default"] tags = tag("8.2", "cli-node18") @@ -449,7 +385,7 @@ target "php82-cli-node18" { } } -# thecodingmachine/php:8.2-v4-cli-node16 +# thecodingmachine/php:8.2-v5-cli-node16 target "php82-cli-node16" { inherits = ["default"] tags = tag("8.2", "cli-node16") @@ -465,7 +401,7 @@ target "php82-cli-node16" { } } -# thecodingmachine/php:8.2-v4-cli-node14 +# thecodingmachine/php:8.2-v5-cli-node14 target "php82-cli-node14" { inherits = ["default"] tags = tag("8.2", "cli-node14") @@ -481,42 +417,10 @@ target "php82-cli-node14" { } } -# thecodingmachine/php:8.2-v4-cli-node12 -target "php82-cli-node12" { - inherits = ["default"] - tags = tag("8.2", "cli-node12") - dockerfile = "Dockerfile.cli.node" - args = { - PHP_VERSION = "8.2" - VARIANT = "cli-node12" - FROM_IMAGE = "fat" - NODE_VERSION = "12" - } - contexts = { - fat = "target:php82-cli" - } -} - -# thecodingmachine/php:8.2-v4-cli-node10 -target "php82-cli-node10" { - inherits = ["default"] - tags = tag("8.2", "cli-node10") - dockerfile = "Dockerfile.cli.node" - args = { - PHP_VERSION = "8.2" - VARIANT = "cli-node10" - FROM_IMAGE = "fat" - NODE_VERSION = "10" - } - contexts = { - fat = "target:php82-cli" - } -} - ########################### ## PHP 8.1 ########################### -# thecodingmachine/php:8.1-v4-slim-apache +# thecodingmachine/php:8.1-v5-slim-apache target "php81-slim-apache" { inherits = ["default"] tags = tag("8.1", "slim-apache") @@ -527,7 +431,7 @@ target "php81-slim-apache" { } } -# thecodingmachine/php:8.1-v4-apache +# thecodingmachine/php:8.1-v5-apache target "php81-apache" { inherits = ["default"] tags = tag("8.1", "apache") @@ -542,7 +446,7 @@ target "php81-apache" { } } -# thecodingmachine/php:8.1-v4-apache-node18 +# thecodingmachine/php:8.1-v5-apache-node18 target "php81-apache-node18" { inherits = ["default"] tags = tag("8.1", "apache-node18") @@ -558,7 +462,7 @@ target "php81-apache-node18" { } } -# thecodingmachine/php:8.1-v4-apache-node16 +# thecodingmachine/php:8.1-v5-apache-node16 target "php81-apache-node16" { inherits = ["default"] tags = tag("8.1", "apache-node16") @@ -574,7 +478,7 @@ target "php81-apache-node16" { } } -# thecodingmachine/php:8.1-v4-apache-node14 +# thecodingmachine/php:8.1-v5-apache-node14 target "php81-apache-node14" { inherits = ["default"] tags = tag("8.1", "apache-node14") @@ -590,42 +494,10 @@ target "php81-apache-node14" { } } -# thecodingmachine/php:8.1-v4-apache-node12 -target "php81-apache-node12" { - inherits = ["default"] - tags = tag("8.1", "apache-node12") - dockerfile = "Dockerfile.apache.node" - args = { - PHP_VERSION = "8.1" - VARIANT = "apache-node12" - FROM_IMAGE = "fat" - NODE_VERSION = "12" - } - contexts = { - fat = "target:php81-apache" - } -} - -# thecodingmachine/php:8.1-v4-apache-node10 -target "php81-apache-node10" { - inherits = ["default"] - tags = tag("8.1", "apache-node10") - dockerfile = "Dockerfile.apache.node" - args = { - PHP_VERSION = "8.1" - VARIANT = "apache-node10" - FROM_IMAGE = "fat" - NODE_VERSION = "10" - } - contexts = { - fat = "target:php81-apache" - } -} - ########################### ## PHP 8.1 ########################### -# thecodingmachine/php:8.1-v4-slim-fpm +# thecodingmachine/php:8.1-v5-slim-fpm target "php81-slim-fpm" { inherits = ["default"] tags = tag("8.1", "slim-fpm") @@ -636,7 +508,7 @@ target "php81-slim-fpm" { } } -# thecodingmachine/php:8.1-v4-fpm +# thecodingmachine/php:8.1-v5-fpm target "php81-fpm" { inherits = ["default"] tags = tag("8.1", "fpm") @@ -651,7 +523,7 @@ target "php81-fpm" { } } -# thecodingmachine/php:8.1-v4-fpm-node18 +# thecodingmachine/php:8.1-v5-fpm-node18 target "php81-fpm-node18" { inherits = ["default"] tags = tag("8.1", "fpm-node18") @@ -667,7 +539,7 @@ target "php81-fpm-node18" { } } -# thecodingmachine/php:8.1-v4-fpm-node16 +# thecodingmachine/php:8.1-v5-fpm-node16 target "php81-fpm-node16" { inherits = ["default"] tags = tag("8.1", "fpm-node16") @@ -683,7 +555,7 @@ target "php81-fpm-node16" { } } -# thecodingmachine/php:8.1-v4-fpm-node14 +# thecodingmachine/php:8.1-v5-fpm-node14 target "php81-fpm-node14" { inherits = ["default"] tags = tag("8.1", "fpm-node14") @@ -699,42 +571,10 @@ target "php81-fpm-node14" { } } -# thecodingmachine/php:8.1-v4-fpm-node12 -target "php81-fpm-node12" { - inherits = ["default"] - tags = tag("8.1", "fpm-node12") - dockerfile = "Dockerfile.fpm.node" - args = { - PHP_VERSION = "8.1" - VARIANT = "fpm-node12" - FROM_IMAGE = "fat" - NODE_VERSION = "12" - } - contexts = { - fat = "target:php81-fpm" - } -} - -# thecodingmachine/php:8.1-v4-fpm-node10 -target "php81-fpm-node10" { - inherits = ["default"] - tags = tag("8.1", "fpm-node10") - dockerfile = "Dockerfile.fpm.node" - args = { - PHP_VERSION = "8.1" - VARIANT = "fpm-node10" - FROM_IMAGE = "fat" - NODE_VERSION = "10" - } - contexts = { - fat = "target:php81-fpm" - } -} - ########################### ## PHP 8.1 ########################### -# thecodingmachine/php:8.1-v4-slim-cli +# thecodingmachine/php:8.1-v5-slim-cli target "php81-slim-cli" { inherits = ["default"] tags = tag("8.1", "slim-cli") @@ -745,7 +585,7 @@ target "php81-slim-cli" { } } -# thecodingmachine/php:8.1-v4-cli +# thecodingmachine/php:8.1-v5-cli target "php81-cli" { inherits = ["default"] tags = tag("8.1", "cli") @@ -760,7 +600,7 @@ target "php81-cli" { } } -# thecodingmachine/php:8.1-v4-cli-node18 +# thecodingmachine/php:8.1-v5-cli-node18 target "php81-cli-node18" { inherits = ["default"] tags = tag("8.1", "cli-node18") @@ -776,7 +616,7 @@ target "php81-cli-node18" { } } -# thecodingmachine/php:8.1-v4-cli-node16 +# thecodingmachine/php:8.1-v5-cli-node16 target "php81-cli-node16" { inherits = ["default"] tags = tag("8.1", "cli-node16") @@ -792,7 +632,7 @@ target "php81-cli-node16" { } } -# thecodingmachine/php:8.1-v4-cli-node14 +# thecodingmachine/php:8.1-v5-cli-node14 target "php81-cli-node14" { inherits = ["default"] tags = tag("8.1", "cli-node14") @@ -808,42 +648,10 @@ target "php81-cli-node14" { } } -# thecodingmachine/php:8.1-v4-cli-node12 -target "php81-cli-node12" { - inherits = ["default"] - tags = tag("8.1", "cli-node12") - dockerfile = "Dockerfile.cli.node" - args = { - PHP_VERSION = "8.1" - VARIANT = "cli-node12" - FROM_IMAGE = "fat" - NODE_VERSION = "12" - } - contexts = { - fat = "target:php81-cli" - } -} - -# thecodingmachine/php:8.1-v4-cli-node10 -target "php81-cli-node10" { - inherits = ["default"] - tags = tag("8.1", "cli-node10") - dockerfile = "Dockerfile.cli.node" - args = { - PHP_VERSION = "8.1" - VARIANT = "cli-node10" - FROM_IMAGE = "fat" - NODE_VERSION = "10" - } - contexts = { - fat = "target:php81-cli" - } -} - ########################### ## PHP 8.0 ########################### -# thecodingmachine/php:8.0-v4-slim-apache +# thecodingmachine/php:8.0-v5-slim-apache target "php80-slim-apache" { inherits = ["default"] tags = tag("8.0", "slim-apache") @@ -854,7 +662,7 @@ target "php80-slim-apache" { } } -# thecodingmachine/php:8.0-v4-apache +# thecodingmachine/php:8.0-v5-apache target "php80-apache" { inherits = ["default"] tags = tag("8.0", "apache") @@ -869,7 +677,7 @@ target "php80-apache" { } } -# thecodingmachine/php:8.0-v4-apache-node18 +# thecodingmachine/php:8.0-v5-apache-node18 target "php80-apache-node18" { inherits = ["default"] tags = tag("8.0", "apache-node18") @@ -885,7 +693,7 @@ target "php80-apache-node18" { } } -# thecodingmachine/php:8.0-v4-apache-node16 +# thecodingmachine/php:8.0-v5-apache-node16 target "php80-apache-node16" { inherits = ["default"] tags = tag("8.0", "apache-node16") @@ -901,7 +709,7 @@ target "php80-apache-node16" { } } -# thecodingmachine/php:8.0-v4-apache-node14 +# thecodingmachine/php:8.0-v5-apache-node14 target "php80-apache-node14" { inherits = ["default"] tags = tag("8.0", "apache-node14") @@ -917,42 +725,10 @@ target "php80-apache-node14" { } } -# thecodingmachine/php:8.0-v4-apache-node12 -target "php80-apache-node12" { - inherits = ["default"] - tags = tag("8.0", "apache-node12") - dockerfile = "Dockerfile.apache.node" - args = { - PHP_VERSION = "8.0" - VARIANT = "apache-node12" - FROM_IMAGE = "fat" - NODE_VERSION = "12" - } - contexts = { - fat = "target:php80-apache" - } -} - -# thecodingmachine/php:8.0-v4-apache-node10 -target "php80-apache-node10" { - inherits = ["default"] - tags = tag("8.0", "apache-node10") - dockerfile = "Dockerfile.apache.node" - args = { - PHP_VERSION = "8.0" - VARIANT = "apache-node10" - FROM_IMAGE = "fat" - NODE_VERSION = "10" - } - contexts = { - fat = "target:php80-apache" - } -} - ########################### ## PHP 8.0 ########################### -# thecodingmachine/php:8.0-v4-slim-fpm +# thecodingmachine/php:8.0-v5-slim-fpm target "php80-slim-fpm" { inherits = ["default"] tags = tag("8.0", "slim-fpm") @@ -963,7 +739,7 @@ target "php80-slim-fpm" { } } -# thecodingmachine/php:8.0-v4-fpm +# thecodingmachine/php:8.0-v5-fpm target "php80-fpm" { inherits = ["default"] tags = tag("8.0", "fpm") @@ -978,7 +754,7 @@ target "php80-fpm" { } } -# thecodingmachine/php:8.0-v4-fpm-node18 +# thecodingmachine/php:8.0-v5-fpm-node18 target "php80-fpm-node18" { inherits = ["default"] tags = tag("8.0", "fpm-node18") @@ -994,7 +770,7 @@ target "php80-fpm-node18" { } } -# thecodingmachine/php:8.0-v4-fpm-node16 +# thecodingmachine/php:8.0-v5-fpm-node16 target "php80-fpm-node16" { inherits = ["default"] tags = tag("8.0", "fpm-node16") @@ -1010,7 +786,7 @@ target "php80-fpm-node16" { } } -# thecodingmachine/php:8.0-v4-fpm-node14 +# thecodingmachine/php:8.0-v5-fpm-node14 target "php80-fpm-node14" { inherits = ["default"] tags = tag("8.0", "fpm-node14") @@ -1026,42 +802,10 @@ target "php80-fpm-node14" { } } -# thecodingmachine/php:8.0-v4-fpm-node12 -target "php80-fpm-node12" { - inherits = ["default"] - tags = tag("8.0", "fpm-node12") - dockerfile = "Dockerfile.fpm.node" - args = { - PHP_VERSION = "8.0" - VARIANT = "fpm-node12" - FROM_IMAGE = "fat" - NODE_VERSION = "12" - } - contexts = { - fat = "target:php80-fpm" - } -} - -# thecodingmachine/php:8.0-v4-fpm-node10 -target "php80-fpm-node10" { - inherits = ["default"] - tags = tag("8.0", "fpm-node10") - dockerfile = "Dockerfile.fpm.node" - args = { - PHP_VERSION = "8.0" - VARIANT = "fpm-node10" - FROM_IMAGE = "fat" - NODE_VERSION = "10" - } - contexts = { - fat = "target:php80-fpm" - } -} - ########################### ## PHP 8.0 ########################### -# thecodingmachine/php:8.0-v4-slim-cli +# thecodingmachine/php:8.0-v5-slim-cli target "php80-slim-cli" { inherits = ["default"] tags = tag("8.0", "slim-cli") @@ -1072,7 +816,7 @@ target "php80-slim-cli" { } } -# thecodingmachine/php:8.0-v4-cli +# thecodingmachine/php:8.0-v5-cli target "php80-cli" { inherits = ["default"] tags = tag("8.0", "cli") @@ -1087,7 +831,7 @@ target "php80-cli" { } } -# thecodingmachine/php:8.0-v4-cli-node18 +# thecodingmachine/php:8.0-v5-cli-node18 target "php80-cli-node18" { inherits = ["default"] tags = tag("8.0", "cli-node18") @@ -1103,7 +847,7 @@ target "php80-cli-node18" { } } -# thecodingmachine/php:8.0-v4-cli-node16 +# thecodingmachine/php:8.0-v5-cli-node16 target "php80-cli-node16" { inherits = ["default"] tags = tag("8.0", "cli-node16") @@ -1119,7 +863,7 @@ target "php80-cli-node16" { } } -# thecodingmachine/php:8.0-v4-cli-node14 +# thecodingmachine/php:8.0-v5-cli-node14 target "php80-cli-node14" { inherits = ["default"] tags = tag("8.0", "cli-node14") @@ -1135,42 +879,10 @@ target "php80-cli-node14" { } } -# thecodingmachine/php:8.0-v4-cli-node12 -target "php80-cli-node12" { - inherits = ["default"] - tags = tag("8.0", "cli-node12") - dockerfile = "Dockerfile.cli.node" - args = { - PHP_VERSION = "8.0" - VARIANT = "cli-node12" - FROM_IMAGE = "fat" - NODE_VERSION = "12" - } - contexts = { - fat = "target:php80-cli" - } -} - -# thecodingmachine/php:8.0-v4-cli-node10 -target "php80-cli-node10" { - inherits = ["default"] - tags = tag("8.0", "cli-node10") - dockerfile = "Dockerfile.cli.node" - args = { - PHP_VERSION = "8.0" - VARIANT = "cli-node10" - FROM_IMAGE = "fat" - NODE_VERSION = "10" - } - contexts = { - fat = "target:php80-cli" - } -} - ########################### ## PHP 7.4 ########################### -# thecodingmachine/php:7.4-v4-slim-apache +# thecodingmachine/php:7.4-v5-slim-apache target "php74-slim-apache" { inherits = ["default"] tags = tag("7.4", "slim-apache") @@ -1181,7 +893,7 @@ target "php74-slim-apache" { } } -# thecodingmachine/php:7.4-v4-apache +# thecodingmachine/php:7.4-v5-apache target "php74-apache" { inherits = ["default"] tags = tag("7.4", "apache") @@ -1196,7 +908,7 @@ target "php74-apache" { } } -# thecodingmachine/php:7.4-v4-apache-node18 +# thecodingmachine/php:7.4-v5-apache-node18 target "php74-apache-node18" { inherits = ["default"] tags = tag("7.4", "apache-node18") @@ -1212,7 +924,7 @@ target "php74-apache-node18" { } } -# thecodingmachine/php:7.4-v4-apache-node16 +# thecodingmachine/php:7.4-v5-apache-node16 target "php74-apache-node16" { inherits = ["default"] tags = tag("7.4", "apache-node16") @@ -1228,7 +940,7 @@ target "php74-apache-node16" { } } -# thecodingmachine/php:7.4-v4-apache-node14 +# thecodingmachine/php:7.4-v5-apache-node14 target "php74-apache-node14" { inherits = ["default"] tags = tag("7.4", "apache-node14") @@ -1244,42 +956,10 @@ target "php74-apache-node14" { } } -# thecodingmachine/php:7.4-v4-apache-node12 -target "php74-apache-node12" { - inherits = ["default"] - tags = tag("7.4", "apache-node12") - dockerfile = "Dockerfile.apache.node" - args = { - PHP_VERSION = "7.4" - VARIANT = "apache-node12" - FROM_IMAGE = "fat" - NODE_VERSION = "12" - } - contexts = { - fat = "target:php74-apache" - } -} - -# thecodingmachine/php:7.4-v4-apache-node10 -target "php74-apache-node10" { - inherits = ["default"] - tags = tag("7.4", "apache-node10") - dockerfile = "Dockerfile.apache.node" - args = { - PHP_VERSION = "7.4" - VARIANT = "apache-node10" - FROM_IMAGE = "fat" - NODE_VERSION = "10" - } - contexts = { - fat = "target:php74-apache" - } -} - ########################### ## PHP 7.4 ########################### -# thecodingmachine/php:7.4-v4-slim-fpm +# thecodingmachine/php:7.4-v5-slim-fpm target "php74-slim-fpm" { inherits = ["default"] tags = tag("7.4", "slim-fpm") @@ -1290,7 +970,7 @@ target "php74-slim-fpm" { } } -# thecodingmachine/php:7.4-v4-fpm +# thecodingmachine/php:7.4-v5-fpm target "php74-fpm" { inherits = ["default"] tags = tag("7.4", "fpm") @@ -1305,7 +985,7 @@ target "php74-fpm" { } } -# thecodingmachine/php:7.4-v4-fpm-node18 +# thecodingmachine/php:7.4-v5-fpm-node18 target "php74-fpm-node18" { inherits = ["default"] tags = tag("7.4", "fpm-node18") @@ -1321,7 +1001,7 @@ target "php74-fpm-node18" { } } -# thecodingmachine/php:7.4-v4-fpm-node16 +# thecodingmachine/php:7.4-v5-fpm-node16 target "php74-fpm-node16" { inherits = ["default"] tags = tag("7.4", "fpm-node16") @@ -1337,7 +1017,7 @@ target "php74-fpm-node16" { } } -# thecodingmachine/php:7.4-v4-fpm-node14 +# thecodingmachine/php:7.4-v5-fpm-node14 target "php74-fpm-node14" { inherits = ["default"] tags = tag("7.4", "fpm-node14") @@ -1353,42 +1033,10 @@ target "php74-fpm-node14" { } } -# thecodingmachine/php:7.4-v4-fpm-node12 -target "php74-fpm-node12" { - inherits = ["default"] - tags = tag("7.4", "fpm-node12") - dockerfile = "Dockerfile.fpm.node" - args = { - PHP_VERSION = "7.4" - VARIANT = "fpm-node12" - FROM_IMAGE = "fat" - NODE_VERSION = "12" - } - contexts = { - fat = "target:php74-fpm" - } -} - -# thecodingmachine/php:7.4-v4-fpm-node10 -target "php74-fpm-node10" { - inherits = ["default"] - tags = tag("7.4", "fpm-node10") - dockerfile = "Dockerfile.fpm.node" - args = { - PHP_VERSION = "7.4" - VARIANT = "fpm-node10" - FROM_IMAGE = "fat" - NODE_VERSION = "10" - } - contexts = { - fat = "target:php74-fpm" - } -} - ########################### ## PHP 7.4 ########################### -# thecodingmachine/php:7.4-v4-slim-cli +# thecodingmachine/php:7.4-v5-slim-cli target "php74-slim-cli" { inherits = ["default"] tags = tag("7.4", "slim-cli") @@ -1399,7 +1047,7 @@ target "php74-slim-cli" { } } -# thecodingmachine/php:7.4-v4-cli +# thecodingmachine/php:7.4-v5-cli target "php74-cli" { inherits = ["default"] tags = tag("7.4", "cli") @@ -1414,7 +1062,7 @@ target "php74-cli" { } } -# thecodingmachine/php:7.4-v4-cli-node18 +# thecodingmachine/php:7.4-v5-cli-node18 target "php74-cli-node18" { inherits = ["default"] tags = tag("7.4", "cli-node18") @@ -1430,7 +1078,7 @@ target "php74-cli-node18" { } } -# thecodingmachine/php:7.4-v4-cli-node16 +# thecodingmachine/php:7.4-v5-cli-node16 target "php74-cli-node16" { inherits = ["default"] tags = tag("7.4", "cli-node16") @@ -1446,7 +1094,7 @@ target "php74-cli-node16" { } } -# thecodingmachine/php:7.4-v4-cli-node14 +# thecodingmachine/php:7.4-v5-cli-node14 target "php74-cli-node14" { inherits = ["default"] tags = tag("7.4", "cli-node14") @@ -1462,42 +1110,10 @@ target "php74-cli-node14" { } } -# thecodingmachine/php:7.4-v4-cli-node12 -target "php74-cli-node12" { - inherits = ["default"] - tags = tag("7.4", "cli-node12") - dockerfile = "Dockerfile.cli.node" - args = { - PHP_VERSION = "7.4" - VARIANT = "cli-node12" - FROM_IMAGE = "fat" - NODE_VERSION = "12" - } - contexts = { - fat = "target:php74-cli" - } -} - -# thecodingmachine/php:7.4-v4-cli-node10 -target "php74-cli-node10" { - inherits = ["default"] - tags = tag("7.4", "cli-node10") - dockerfile = "Dockerfile.cli.node" - args = { - PHP_VERSION = "7.4" - VARIANT = "cli-node10" - FROM_IMAGE = "fat" - NODE_VERSION = "10" - } - contexts = { - fat = "target:php74-cli" - } -} - ########################### ## PHP 7.3 ########################### -# thecodingmachine/php:7.3-v4-slim-apache +# thecodingmachine/php:7.3-v5-slim-apache target "php73-slim-apache" { inherits = ["default"] tags = tag("7.3", "slim-apache") @@ -1508,7 +1124,7 @@ target "php73-slim-apache" { } } -# thecodingmachine/php:7.3-v4-apache +# thecodingmachine/php:7.3-v5-apache target "php73-apache" { inherits = ["default"] tags = tag("7.3", "apache") @@ -1523,7 +1139,7 @@ target "php73-apache" { } } -# thecodingmachine/php:7.3-v4-apache-node18 +# thecodingmachine/php:7.3-v5-apache-node18 target "php73-apache-node18" { inherits = ["default"] tags = tag("7.3", "apache-node18") @@ -1539,7 +1155,7 @@ target "php73-apache-node18" { } } -# thecodingmachine/php:7.3-v4-apache-node16 +# thecodingmachine/php:7.3-v5-apache-node16 target "php73-apache-node16" { inherits = ["default"] tags = tag("7.3", "apache-node16") @@ -1555,7 +1171,7 @@ target "php73-apache-node16" { } } -# thecodingmachine/php:7.3-v4-apache-node14 +# thecodingmachine/php:7.3-v5-apache-node14 target "php73-apache-node14" { inherits = ["default"] tags = tag("7.3", "apache-node14") @@ -1571,42 +1187,10 @@ target "php73-apache-node14" { } } -# thecodingmachine/php:7.3-v4-apache-node12 -target "php73-apache-node12" { - inherits = ["default"] - tags = tag("7.3", "apache-node12") - dockerfile = "Dockerfile.apache.node" - args = { - PHP_VERSION = "7.3" - VARIANT = "apache-node12" - FROM_IMAGE = "fat" - NODE_VERSION = "12" - } - contexts = { - fat = "target:php73-apache" - } -} - -# thecodingmachine/php:7.3-v4-apache-node10 -target "php73-apache-node10" { - inherits = ["default"] - tags = tag("7.3", "apache-node10") - dockerfile = "Dockerfile.apache.node" - args = { - PHP_VERSION = "7.3" - VARIANT = "apache-node10" - FROM_IMAGE = "fat" - NODE_VERSION = "10" - } - contexts = { - fat = "target:php73-apache" - } -} - ########################### ## PHP 7.3 ########################### -# thecodingmachine/php:7.3-v4-slim-fpm +# thecodingmachine/php:7.3-v5-slim-fpm target "php73-slim-fpm" { inherits = ["default"] tags = tag("7.3", "slim-fpm") @@ -1617,7 +1201,7 @@ target "php73-slim-fpm" { } } -# thecodingmachine/php:7.3-v4-fpm +# thecodingmachine/php:7.3-v5-fpm target "php73-fpm" { inherits = ["default"] tags = tag("7.3", "fpm") @@ -1632,7 +1216,7 @@ target "php73-fpm" { } } -# thecodingmachine/php:7.3-v4-fpm-node18 +# thecodingmachine/php:7.3-v5-fpm-node18 target "php73-fpm-node18" { inherits = ["default"] tags = tag("7.3", "fpm-node18") @@ -1648,7 +1232,7 @@ target "php73-fpm-node18" { } } -# thecodingmachine/php:7.3-v4-fpm-node16 +# thecodingmachine/php:7.3-v5-fpm-node16 target "php73-fpm-node16" { inherits = ["default"] tags = tag("7.3", "fpm-node16") @@ -1664,7 +1248,7 @@ target "php73-fpm-node16" { } } -# thecodingmachine/php:7.3-v4-fpm-node14 +# thecodingmachine/php:7.3-v5-fpm-node14 target "php73-fpm-node14" { inherits = ["default"] tags = tag("7.3", "fpm-node14") @@ -1680,42 +1264,10 @@ target "php73-fpm-node14" { } } -# thecodingmachine/php:7.3-v4-fpm-node12 -target "php73-fpm-node12" { - inherits = ["default"] - tags = tag("7.3", "fpm-node12") - dockerfile = "Dockerfile.fpm.node" - args = { - PHP_VERSION = "7.3" - VARIANT = "fpm-node12" - FROM_IMAGE = "fat" - NODE_VERSION = "12" - } - contexts = { - fat = "target:php73-fpm" - } -} - -# thecodingmachine/php:7.3-v4-fpm-node10 -target "php73-fpm-node10" { - inherits = ["default"] - tags = tag("7.3", "fpm-node10") - dockerfile = "Dockerfile.fpm.node" - args = { - PHP_VERSION = "7.3" - VARIANT = "fpm-node10" - FROM_IMAGE = "fat" - NODE_VERSION = "10" - } - contexts = { - fat = "target:php73-fpm" - } -} - ########################### ## PHP 7.3 ########################### -# thecodingmachine/php:7.3-v4-slim-cli +# thecodingmachine/php:7.3-v5-slim-cli target "php73-slim-cli" { inherits = ["default"] tags = tag("7.3", "slim-cli") @@ -1726,7 +1278,7 @@ target "php73-slim-cli" { } } -# thecodingmachine/php:7.3-v4-cli +# thecodingmachine/php:7.3-v5-cli target "php73-cli" { inherits = ["default"] tags = tag("7.3", "cli") @@ -1741,7 +1293,7 @@ target "php73-cli" { } } -# thecodingmachine/php:7.3-v4-cli-node18 +# thecodingmachine/php:7.3-v5-cli-node18 target "php73-cli-node18" { inherits = ["default"] tags = tag("7.3", "cli-node18") @@ -1757,7 +1309,7 @@ target "php73-cli-node18" { } } -# thecodingmachine/php:7.3-v4-cli-node16 +# thecodingmachine/php:7.3-v5-cli-node16 target "php73-cli-node16" { inherits = ["default"] tags = tag("7.3", "cli-node16") @@ -1773,7 +1325,7 @@ target "php73-cli-node16" { } } -# thecodingmachine/php:7.3-v4-cli-node14 +# thecodingmachine/php:7.3-v5-cli-node14 target "php73-cli-node14" { inherits = ["default"] tags = tag("7.3", "cli-node14") @@ -1789,42 +1341,10 @@ target "php73-cli-node14" { } } -# thecodingmachine/php:7.3-v4-cli-node12 -target "php73-cli-node12" { - inherits = ["default"] - tags = tag("7.3", "cli-node12") - dockerfile = "Dockerfile.cli.node" - args = { - PHP_VERSION = "7.3" - VARIANT = "cli-node12" - FROM_IMAGE = "fat" - NODE_VERSION = "12" - } - contexts = { - fat = "target:php73-cli" - } -} - -# thecodingmachine/php:7.3-v4-cli-node10 -target "php73-cli-node10" { - inherits = ["default"] - tags = tag("7.3", "cli-node10") - dockerfile = "Dockerfile.cli.node" - args = { - PHP_VERSION = "7.3" - VARIANT = "cli-node10" - FROM_IMAGE = "fat" - NODE_VERSION = "10" - } - contexts = { - fat = "target:php73-cli" - } -} - ########################### ## PHP 7.2 ########################### -# thecodingmachine/php:7.2-v4-slim-apache +# thecodingmachine/php:7.2-v5-slim-apache target "php72-slim-apache" { inherits = ["default"] tags = tag("7.2", "slim-apache") @@ -1835,7 +1355,7 @@ target "php72-slim-apache" { } } -# thecodingmachine/php:7.2-v4-apache +# thecodingmachine/php:7.2-v5-apache target "php72-apache" { inherits = ["default"] tags = tag("7.2", "apache") @@ -1850,7 +1370,7 @@ target "php72-apache" { } } -# thecodingmachine/php:7.2-v4-apache-node18 +# thecodingmachine/php:7.2-v5-apache-node18 target "php72-apache-node18" { inherits = ["default"] tags = tag("7.2", "apache-node18") @@ -1866,7 +1386,7 @@ target "php72-apache-node18" { } } -# thecodingmachine/php:7.2-v4-apache-node16 +# thecodingmachine/php:7.2-v5-apache-node16 target "php72-apache-node16" { inherits = ["default"] tags = tag("7.2", "apache-node16") @@ -1882,7 +1402,7 @@ target "php72-apache-node16" { } } -# thecodingmachine/php:7.2-v4-apache-node14 +# thecodingmachine/php:7.2-v5-apache-node14 target "php72-apache-node14" { inherits = ["default"] tags = tag("7.2", "apache-node14") @@ -1898,42 +1418,10 @@ target "php72-apache-node14" { } } -# thecodingmachine/php:7.2-v4-apache-node12 -target "php72-apache-node12" { - inherits = ["default"] - tags = tag("7.2", "apache-node12") - dockerfile = "Dockerfile.apache.node" - args = { - PHP_VERSION = "7.2" - VARIANT = "apache-node12" - FROM_IMAGE = "fat" - NODE_VERSION = "12" - } - contexts = { - fat = "target:php72-apache" - } -} - -# thecodingmachine/php:7.2-v4-apache-node10 -target "php72-apache-node10" { - inherits = ["default"] - tags = tag("7.2", "apache-node10") - dockerfile = "Dockerfile.apache.node" - args = { - PHP_VERSION = "7.2" - VARIANT = "apache-node10" - FROM_IMAGE = "fat" - NODE_VERSION = "10" - } - contexts = { - fat = "target:php72-apache" - } -} - ########################### ## PHP 7.2 ########################### -# thecodingmachine/php:7.2-v4-slim-fpm +# thecodingmachine/php:7.2-v5-slim-fpm target "php72-slim-fpm" { inherits = ["default"] tags = tag("7.2", "slim-fpm") @@ -1944,7 +1432,7 @@ target "php72-slim-fpm" { } } -# thecodingmachine/php:7.2-v4-fpm +# thecodingmachine/php:7.2-v5-fpm target "php72-fpm" { inherits = ["default"] tags = tag("7.2", "fpm") @@ -1959,7 +1447,7 @@ target "php72-fpm" { } } -# thecodingmachine/php:7.2-v4-fpm-node18 +# thecodingmachine/php:7.2-v5-fpm-node18 target "php72-fpm-node18" { inherits = ["default"] tags = tag("7.2", "fpm-node18") @@ -1975,7 +1463,7 @@ target "php72-fpm-node18" { } } -# thecodingmachine/php:7.2-v4-fpm-node16 +# thecodingmachine/php:7.2-v5-fpm-node16 target "php72-fpm-node16" { inherits = ["default"] tags = tag("7.2", "fpm-node16") @@ -1991,7 +1479,7 @@ target "php72-fpm-node16" { } } -# thecodingmachine/php:7.2-v4-fpm-node14 +# thecodingmachine/php:7.2-v5-fpm-node14 target "php72-fpm-node14" { inherits = ["default"] tags = tag("7.2", "fpm-node14") @@ -2007,42 +1495,10 @@ target "php72-fpm-node14" { } } -# thecodingmachine/php:7.2-v4-fpm-node12 -target "php72-fpm-node12" { - inherits = ["default"] - tags = tag("7.2", "fpm-node12") - dockerfile = "Dockerfile.fpm.node" - args = { - PHP_VERSION = "7.2" - VARIANT = "fpm-node12" - FROM_IMAGE = "fat" - NODE_VERSION = "12" - } - contexts = { - fat = "target:php72-fpm" - } -} - -# thecodingmachine/php:7.2-v4-fpm-node10 -target "php72-fpm-node10" { - inherits = ["default"] - tags = tag("7.2", "fpm-node10") - dockerfile = "Dockerfile.fpm.node" - args = { - PHP_VERSION = "7.2" - VARIANT = "fpm-node10" - FROM_IMAGE = "fat" - NODE_VERSION = "10" - } - contexts = { - fat = "target:php72-fpm" - } -} - ########################### ## PHP 7.2 ########################### -# thecodingmachine/php:7.2-v4-slim-cli +# thecodingmachine/php:7.2-v5-slim-cli target "php72-slim-cli" { inherits = ["default"] tags = tag("7.2", "slim-cli") @@ -2053,7 +1509,7 @@ target "php72-slim-cli" { } } -# thecodingmachine/php:7.2-v4-cli +# thecodingmachine/php:7.2-v5-cli target "php72-cli" { inherits = ["default"] tags = tag("7.2", "cli") @@ -2068,7 +1524,7 @@ target "php72-cli" { } } -# thecodingmachine/php:7.2-v4-cli-node18 +# thecodingmachine/php:7.2-v5-cli-node18 target "php72-cli-node18" { inherits = ["default"] tags = tag("7.2", "cli-node18") @@ -2084,7 +1540,7 @@ target "php72-cli-node18" { } } -# thecodingmachine/php:7.2-v4-cli-node16 +# thecodingmachine/php:7.2-v5-cli-node16 target "php72-cli-node16" { inherits = ["default"] tags = tag("7.2", "cli-node16") @@ -2100,7 +1556,7 @@ target "php72-cli-node16" { } } -# thecodingmachine/php:7.2-v4-cli-node14 +# thecodingmachine/php:7.2-v5-cli-node14 target "php72-cli-node14" { inherits = ["default"] tags = tag("7.2", "cli-node14") @@ -2116,36 +1572,4 @@ target "php72-cli-node14" { } } -# thecodingmachine/php:7.2-v4-cli-node12 -target "php72-cli-node12" { - inherits = ["default"] - tags = tag("7.2", "cli-node12") - dockerfile = "Dockerfile.cli.node" - args = { - PHP_VERSION = "7.2" - VARIANT = "cli-node12" - FROM_IMAGE = "fat" - NODE_VERSION = "12" - } - contexts = { - fat = "target:php72-cli" - } -} - -# thecodingmachine/php:7.2-v4-cli-node10 -target "php72-cli-node10" { - inherits = ["default"] - tags = tag("7.2", "cli-node10") - dockerfile = "Dockerfile.cli.node" - args = { - PHP_VERSION = "7.2" - VARIANT = "cli-node10" - FROM_IMAGE = "fat" - NODE_VERSION = "10" - } - contexts = { - fat = "target:php72-cli" - } -} - diff --git a/tests-suite/config b/tests-suite/config index 63c9f43..8945d07 100755 --- a/tests-suite/config +++ b/tests-suite/config @@ -3,7 +3,7 @@ export PLATFORM="${PLATFORM:-$(uname -p)}" export BUILDTOOL="build --platform=${PLATFORM}" export RUN_OPTIONS="--platform=${PLATFORM}" export PHP_VERSION=${PHP_VERSION:-8.2} -export BRANCH=${BRANCH:-v4} +export BRANCH=${BRANCH:-v5} export VARIANT=${VARIANT:-apache} export BRANCH_VARIANT="${VARIANT//./-}" export REPO="${REPO:-thecodingmachine/php}" @@ -34,4 +34,4 @@ function waitfor() { sleep 1 done return 0 -} \ No newline at end of file +} diff --git a/utils/Dockerfile.slim.blueprint b/utils/Dockerfile.slim.blueprint index fd50d14..40e65f4 100644 --- a/utils/Dockerfile.slim.blueprint +++ b/utils/Dockerfile.slim.blueprint @@ -1,5 +1,5 @@ #syntax=docker/dockerfile-upstream:1 -FROM ubuntu:20.04 +FROM ubuntu:22.04 LABEL authors="Julien Neuhart , David Négrier " SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -32,7 +32,7 @@ ENV PHP_VERSION=${PHP_VERSION} # Install php an other packages RUN apt-get update \ && apt-get install -y --no-install-recommends gnupg \ - && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu focal main" > /etc/apt/sources.list.d/ondrej-php.list \ + && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu jammy main" > /etc/apt/sources.list.d/ondrej-php.list \ && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F4EA0AAE5267A6C \ && apt-get update \ && apt-get upgrade -y \ diff --git a/utils/README.blueprint.md b/utils/README.blueprint.md index 3298830..d2428ae 100644 --- a/utils/README.blueprint.md +++ b/utils/README.blueprint.md @@ -17,25 +17,25 @@ This repository contains a set of developer-friendly, general purpose PHP images ## Images {{ $versions := list "8.2" "8.1" "8.0" "7.4" "7.3" "7.2" }} -{{ $nodeVersions := list "10" "12" "14" "16" "18" }} +{{ $nodeVersions := list "14" "16" "18" }} | Name | PHP version | type |variant | NodeJS version | Size |-------------------------------------------------------------------------|------------------------------|------|--------|-----------------|------ -{{range $phpV := $versions}}| [thecodingmachine/php:{{ $phpV }}-v4-apache](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache) | `{{ $phpV }}.x`{{if eq $phpV "7.2"}}(1){{ end }}{{if eq $phpV "7.3"}}(1){{ end }} | fat | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:{{ $phpV }}-v4-apache.svg)](https://microbadger.com/images/thecodingmachine/php:{{ $phpV }}-v4-apache) -{{range $nodeV := $nodeVersions}}| [thecodingmachine/php:{{ $phpV }}-v4-apache-node{{ $nodeV }}](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.apache.node) | `{{ $phpV }}.x`{{if eq $phpV "7.2"}}(1){{ end }}{{if eq $phpV "7.3"}}(1){{ end }} | fat | apache | `{{ $nodeV }}.x`{{ if eq $nodeV "10" }}(2){{ end }} | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:{{ $phpV }}-v4-apache-node{{ $nodeV }}.svg)](https://microbadger.com/images/thecodingmachine/php:{{ $phpV }}-v4-apache-node{{ $nodeV }}) -{{ end }}| [thecodingmachine/php:{{ $phpV }}-v4-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm) | `{{ $phpV }}.x`{{if eq $phpV "7.2"}}(1){{ end }}{{if eq $phpV "7.3"}}(1){{ end }} | fat | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:{{ $phpV }}-v4-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:{{ $phpV }}-v4-fpm) -{{range $nodeV := $nodeVersions}}| [thecodingmachine/php:{{ $phpV }}-v4-fpm-node{{ $nodeV }}](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.fpm.node) | `{{ $phpV }}.x`{{if eq $phpV "7.2"}}(1){{ end }}{{if eq $phpV "7.3"}}(1){{ end }} | fat | fpm | `{{ $nodeV }}.x`{{ if eq $nodeV "10" }}(2){{ end }} | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:{{ $phpV }}-v4-fpm-node{{ $nodeV }}.svg)](https://microbadger.com/images/thecodingmachine/php:{{ $phpV }}-v4-fpm-node{{ $nodeV }}) -{{ end }}| [thecodingmachine/php:{{ $phpV }}-v4-cli](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli) | `{{ $phpV }}.x`{{if eq $phpV "7.2"}}(1){{ end }}{{if eq $phpV "7.3"}}(1){{ end }} | fat | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:{{ $phpV }}-v4-cli.svg)](https://microbadger.com/images/thecodingmachine/php:{{ $phpV }}-v4-cli) -{{range $nodeV := $nodeVersions}}| [thecodingmachine/php:{{ $phpV }}-v4-cli-node{{ $nodeV }}](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.cli.node) | `{{ $phpV }}.x`{{if eq $phpV "7.2"}}(1){{ end }}{{if eq $phpV "7.3"}}(1){{ end }} | fat | cli | `{{ $nodeV }}.x`{{ if eq $nodeV "10" }}(2){{ end }} | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:{{ $phpV }}-v4-cli-node{{ $nodeV }}.svg)](https://microbadger.com/images/thecodingmachine/php:{{ $phpV }}-v4-cli-node{{ $nodeV }}) -{{ end }}| [thecodingmachine/php:{{ $phpV }}-v4-slim-apache](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.apache) | `{{ $phpV }}.x`{{if eq $phpV "7.2"}}(1){{ end }}{{if eq $phpV "7.3"}}(1){{ end }} | slim | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:{{ $phpV }}-v4-slim-apache.svg)](https://microbadger.com/images/thecodingmachine/php:{{ $phpV }}-v4-slim-apache) -| [thecodingmachine/php:{{ $phpV }}-v4-slim-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.fpm) | `{{ $phpV }}.x`{{if eq $phpV "7.2"}}(1){{ end }}{{if eq $phpV "7.3"}}(1){{ end }} | slim | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:{{ $phpV }}-v4-slim-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:{{ $phpV }}-v4-slim-fpm) -| [thecodingmachine/php:{{ $phpV }}-v4-slim-cli](https://github.com/thecodingmachine/docker-images-php/blob/v4/Dockerfile.slim.cli) | `{{ $phpV }}.x`{{if eq $phpV "7.2"}}(1){{ end }}{{if eq $phpV "7.3"}}(1){{ end }} | slim | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:{{ $phpV }}-v4-slim-cli.svg)](https://microbadger.com/images/thecodingmachine/php:{{ $phpV }}-v4-slim-cli) +{{range $phpV := $versions}}| [thecodingmachine/php:{{ $phpV }}-v5-apache](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache) | `{{ $phpV }}.x`{{if eq $phpV "7.2"}}(1){{ end }}{{if eq $phpV "7.3"}}(1){{ end }} | fat | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:{{ $phpV }}-v5-apache.svg)](https://microbadger.com/images/thecodingmachine/php:{{ $phpV }}-v5-apache) +{{range $nodeV := $nodeVersions}}| [thecodingmachine/php:{{ $phpV }}-v5-apache-node{{ $nodeV }}](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.apache.node) | `{{ $phpV }}.x`{{if eq $phpV "7.2"}}(1){{ end }}{{if eq $phpV "7.3"}}(1){{ end }} | fat | apache | `{{ $nodeV }}.x`{{ if eq $nodeV "10" }}(2){{ end }} | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:{{ $phpV }}-v5-apache-node{{ $nodeV }}.svg)](https://microbadger.com/images/thecodingmachine/php:{{ $phpV }}-v5-apache-node{{ $nodeV }}) +{{ end }}| [thecodingmachine/php:{{ $phpV }}-v5-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm) | `{{ $phpV }}.x`{{if eq $phpV "7.2"}}(1){{ end }}{{if eq $phpV "7.3"}}(1){{ end }} | fat | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:{{ $phpV }}-v5-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:{{ $phpV }}-v5-fpm) +{{range $nodeV := $nodeVersions}}| [thecodingmachine/php:{{ $phpV }}-v5-fpm-node{{ $nodeV }}](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.fpm.node) | `{{ $phpV }}.x`{{if eq $phpV "7.2"}}(1){{ end }}{{if eq $phpV "7.3"}}(1){{ end }} | fat | fpm | `{{ $nodeV }}.x`{{ if eq $nodeV "10" }}(2){{ end }} | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:{{ $phpV }}-v5-fpm-node{{ $nodeV }}.svg)](https://microbadger.com/images/thecodingmachine/php:{{ $phpV }}-v5-fpm-node{{ $nodeV }}) +{{ end }}| [thecodingmachine/php:{{ $phpV }}-v5-cli](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli) | `{{ $phpV }}.x`{{if eq $phpV "7.2"}}(1){{ end }}{{if eq $phpV "7.3"}}(1){{ end }} | fat | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:{{ $phpV }}-v5-cli.svg)](https://microbadger.com/images/thecodingmachine/php:{{ $phpV }}-v5-cli) +{{range $nodeV := $nodeVersions}}| [thecodingmachine/php:{{ $phpV }}-v5-cli-node{{ $nodeV }}](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.cli.node) | `{{ $phpV }}.x`{{if eq $phpV "7.2"}}(1){{ end }}{{if eq $phpV "7.3"}}(1){{ end }} | fat | cli | `{{ $nodeV }}.x`{{ if eq $nodeV "10" }}(2){{ end }} | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:{{ $phpV }}-v5-cli-node{{ $nodeV }}.svg)](https://microbadger.com/images/thecodingmachine/php:{{ $phpV }}-v5-cli-node{{ $nodeV }}) +{{ end }}| [thecodingmachine/php:{{ $phpV }}-v5-slim-apache](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.apache) | `{{ $phpV }}.x`{{if eq $phpV "7.2"}}(1){{ end }}{{if eq $phpV "7.3"}}(1){{ end }} | slim | apache | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:{{ $phpV }}-v5-slim-apache.svg)](https://microbadger.com/images/thecodingmachine/php:{{ $phpV }}-v5-slim-apache) +| [thecodingmachine/php:{{ $phpV }}-v5-slim-fpm](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.fpm) | `{{ $phpV }}.x`{{if eq $phpV "7.2"}}(1){{ end }}{{if eq $phpV "7.3"}}(1){{ end }} | slim | fpm | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:{{ $phpV }}-v5-slim-fpm.svg)](https://microbadger.com/images/thecodingmachine/php:{{ $phpV }}-v5-slim-fpm) +| [thecodingmachine/php:{{ $phpV }}-v5-slim-cli](https://github.com/thecodingmachine/docker-images-php/blob/v5/Dockerfile.slim.cli) | `{{ $phpV }}.x`{{if eq $phpV "7.2"}}(1){{ end }}{{if eq $phpV "7.3"}}(1){{ end }} | slim | cli | *N/A* | [![](https://images.microbadger.com/badges/image/thecodingmachine/php:{{ $phpV }}-v5-slim-cli.svg)](https://microbadger.com/images/thecodingmachine/php:{{ $phpV }}-v5-slim-cli) {{end}} * (1) [PHP 7.2 and 7.3 are end of life](https://www.php.net/supported-versions.php) * (2) [Node 10 is end of life](https://nodejs.org/en/about/releases/) -Note: we also tag patch releases of PHP versions. So you can specify a specific patch release using thecodingmachine/php:**8.0.2**-v4-cli for instance. +Note: we also tag patch releases of PHP versions. So you can specify a specific patch release using thecodingmachine/php:**8.0.2**-v5-cli for instance. However, unless you have a **very specific need** (for instance if the latest patch release of PHP introduced regressions), believe you have no valid reason to ask explicitly for 8.0.2 for instance. When 8.0.3 is out, you certainly want to upgrade automatically to this patch release since patch releases contain only bugfixes. Also, we automatically rebuild X.Y images every week, but only the latest X.Y.Z patch release gets a rebuild. The other patch releases are frozen in time and will contain bugs and security issues. So use those with great care. @@ -50,26 +50,26 @@ These images are based on the [official PHP image](https://hub.docker.com/_/php/ Example with CLI: ```bash -$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/app thecodingmachine/php:{{ $image.php_version }}-v4-cli php your-script.php +$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/app thecodingmachine/php:{{ $image.php_version }}-v5-cli php your-script.php ``` Example with Apache: ```bash -$ docker run -p 80:80 --rm --name my-apache-php-app -v "$PWD":/var/www/html thecodingmachine/php:{{ $image.php_version }}-v4-apache +$ docker run -p 80:80 --rm --name my-apache-php-app -v "$PWD":/var/www/html thecodingmachine/php:{{ $image.php_version }}-v5-apache ``` Example with PHP-FPM: ```bash -$ docker run -p 9000:9000 --rm --name my-php-fpm -v "$PWD":/var/www/html thecodingmachine/php:{{ $image.php_version }}-v4-fpm +$ docker run -p 9000:9000 --rm --name my-php-fpm -v "$PWD":/var/www/html thecodingmachine/php:{{ $image.php_version }}-v5-fpm ``` Example with Apache + Node 14.x in a Dockerfile: **Dockerfile** ```Dockerfile -FROM thecodingmachine/php:{{ $image.php_version }}-v4-apache-node14 +FROM thecodingmachine/php:{{ $image.php_version }}-v5-apache-node14 COPY src/ /var/www/html/ RUN composer install @@ -83,7 +83,7 @@ This image comes with 2 "types": the *slim* and the **fat** image. These extensions are enabled by default in slim image: `calendar` `ctype` `curl` `date` `dom` `exif` `fileinfo` `filter` `ftp` `gettext` `iconv` `json` `mbstring` `opcache` `openssl` `pcntl` `pcre` `PDO` `Phar` `posix` `readline` `shmop` `Reflection` `session` `shmop` `SimpleXML` `sockets` `sodium` `SPL` `sysvmsg` `sysvsem` `sysvshm` `tokenizer` `xml` `xmlreader` `xmlwriter` `xsl` `zip` -This list can be outdated, you can verify by executing : `docker run --rm -it thecodingmachine/php:{{ $image.php_version }}-v4-slim-cli php -m` +This list can be outdated, you can verify by executing : `docker run --rm -it thecodingmachine/php:{{ $image.php_version }}-v5-slim-cli php -m` The slim image provides a simple way to install the other extensions. You would typically use the "slim" image in a `Dockerfile` when building your own custom image. @@ -97,7 +97,7 @@ Below is a list of extensions available in this image: **Available (can be enabled using environment variables):** `amqp` `ast` `bcmath` `blackfire` `bz2` `dba` `ds` `enchant` `ev` `event` `exif` `ffi` `mailparse` `msgpack` `gd` `gettext` `gmp` `gnupg` `grpc` `igbinary` `imagick` `imap` `intl` `ldap` `mcrypt` `memcached` `mongodb` `pcov` `pdo_dblib` `pdo_pgsql` `pdo_sqlite` `pgsql` `pspell` `shmop` `snmp` `sockets` `sqlite3` `swoole` `tidy` `uploadprogress` `uuid` `weakref(-beta)` `xdebug` `xmlrpc` `xsl` `yaml` -This list can be outdated, you can verify by executing : `docker run --rm -it thecodingmachine/php:{{ $image.php_version }}-v4-cli php -m` +This list can be outdated, you can verify by executing : `docker run --rm -it thecodingmachine/php:{{ $image.php_version }}-v5-cli php -m` **Note**: @@ -118,7 +118,7 @@ For instance: version: '3' services: my_app: - image: thecodingmachine/php:{{ $image.php_version }}-v4-apache-node16 + image: thecodingmachine/php:{{ $image.php_version }}-v5-apache-node16 environment: # Enable the PostgreSQL extension PHP_EXTENSION_PGSQL: 1 @@ -138,7 +138,7 @@ If you are using the slim image, you can automatically compile the extensions us ```Dockerfile ARG PHP_EXTENSIONS="apcu mysqli pdo_mysql redis soap" -FROM thecodingmachine/php:{{ $image.php_version }}-v4-slim-apache +FROM thecodingmachine/php:{{ $image.php_version }}-v5-slim-apache # The build will automatically trigger the download and compilation # of the extensions (thanks to a ONBUILD hook in the slim image) ``` @@ -154,7 +154,7 @@ first FROM): # The PHP_EXTENSIONS ARG will apply to the "slim" image ARG PHP_EXTENSIONS="apcu mysqli pdo_mysql soap" -FROM thecodingmachine/php:{{ $image.php_version }}-v4-apache-node16 AS builder +FROM thecodingmachine/php:{{ $image.php_version }}-v5-apache-node16 AS builder COPY --chown=docker:docker sources/web . RUN composer install &&\ @@ -162,7 +162,7 @@ RUN composer install &&\ yarn build # The slim image will automatically build the extensions from the list provided at the very top of the file. -FROM thecodingmachine/php:7.2-v4-slim-apache +FROM thecodingmachine/php:7.2-v5-slim-apache ENV APP_ENV=prod \ APACHE_DOCUMENT_ROOT=public/ @@ -190,7 +190,7 @@ You can override parameters in `php.ini` using the PHP_INI_XXX environment varia version: '3' services: my_app: - image: thecodingmachine/php:{{ $image.php_version }}-v4-apache-node16 + image: thecodingmachine/php:{{ $image.php_version }}-v5-apache-node16 environment: # set the parameter memory_limit=1g PHP_INI_MEMORY_LIMIT: 1g @@ -252,7 +252,7 @@ For instance: version: '3' services: my_app: - image: thecodingmachine/php:{{ $image.php_version }}-v4-apache-node16 + image: thecodingmachine/php:{{ $image.php_version }}-v5-apache-node16 environment: # Enable the DAV extension for Apache APACHE_EXTENSION_DAV: 1 @@ -270,7 +270,7 @@ APACHE_EXTENSIONS="dav ssl" **Apache modules available:** `access_compat` `actions` `alias` `allowmethods` `asis` `auth_basic` `auth_digest` `auth_form` `authn_anon` `authn_core` `authn_dbd` `authn_dbm` `authn_file` `authn_socache` `authnz_fcgi` `authnz_ldap` `authz_core` `authz_dbd` `authz_dbm` `authz_groupfile` `authz_host` `authz_owner` `authz_user` `autoindex` `brotli` `buffer` `cache` `cache_disk` `cache_socache` `cern_meta` `cgi` `cgid` `charset_lite` `data` `dav` `dav_fs` `dav_lock` `dbd` `deflate` `dialup` `dir` `dump_io` `echo` `env` `ext_filter` `expires` `file_cache` `filter` `headers` `heartbeat` `heartmonitor` `http2` `ident` `imagemap` `include` `info` `lbmethod_bybusyness` `lbmethod_byrequests` `lbmethod_bytraffic` `lbmethod_heartbeat` `ldap` `log_debug` `log_forensic` `lua` `macro` `md` `mime` `mime_magic` `mpm_event` `mpm_prefork` `mpm_worker` `negotiation` `php8.0 (depend of your active version)` `proxy` `proxy_ajp` `proxy_balancer` `proxy_connect` `proxy_express` `proxy_fcgi` `proxy_fdpass` `proxy_ftp` `proxy_hcheck` `proxy_html` `proxy_http` `proxy_http2` `proxy_scgi` `proxy_wstunnel` `ratelimit` `reflector` `remoteip` `reqtimeout` `request` `rewrite` `sed` `session` `session_cookie` `session_crypto` `session_dbd` `setenvif` `slotmem_plain` `slotmem_shm` `socache_dbm` `socache_memcache` `socache_redis` `socache_shmcb` `speling` `ssl` `status` `substitute` `suexec` `unique_id` `userdir` `usertrack` `vhost_alias` `xml2enc` -This list can be outdated, you can verify by executing : `docker run --rm -it thecodingmachine/php:{{ $image.php_version }}-v4-slim-apache a2enmod` +This list can be outdated, you can verify by executing : `docker run --rm -it thecodingmachine/php:{{ $image.php_version }}-v5-slim-apache a2enmod` ## Debugging @@ -299,20 +299,20 @@ In that case the manually set value takes precedence over the mentioned ones abo ## NodeJS -The *fat* images come with a Node variant. You can use Node 10, 12, 14 or 16. If you need a Node 8 variant, [use thecodingmachine/php v3 images](https://github.com/thecodingmachine/docker-images-php/tree/v3). If you need a Node 6 variant, [use thecodingmachine/php v1 images](https://github.com/thecodingmachine/docker-images-php/tree/7.2-v1). +The *fat* images come with a Node variant. You can use Node 14, 16 or 18. If you need a Node 12/10 variant, [use thecodingmachine/php v4 images](https://github.com/thecodingmachine/docker-images-php/tree/v4). If you need a Node 8 variant, [use thecodingmachine/php v3 images](https://github.com/thecodingmachine/docker-images-php/tree/v3). If you need a Node 6 variant, [use thecodingmachine/php v1 images](https://github.com/thecodingmachine/docker-images-php/tree/7.2-v1). If you use the *slim* images, you can install a NodeJS version with a simple ARG during the build: ```Dockerfile ARG NODE_VERSION=14 -FROM thecodingmachine/php:{{ $image.php_version }}-v4-slim-apache +FROM thecodingmachine/php:{{ $image.php_version }}-v5-slim-apache # The build will automatically trigger the download of Node 14 # (thanks to a ONBUILD hook in the slim image) ``` Beware! The `ARG NODE_VERSION` command must be written before the `FROM`. This is not a typo. -`NODE_VERSION` can take any valid node versions (from 6 to 11 at the time of writing this README) +`NODE_VERSION` can take any valid node versions (from 6 to 18 at the time of writing this README) ## Permissions @@ -358,7 +358,7 @@ This can be done easily: **Dockerfile** ```Dockerfile -FROM thecodingmachine/php:{{ $image.php_version }}-v4-apache +FROM thecodingmachine/php:{{ $image.php_version }}-v5-apache # ... @@ -402,7 +402,7 @@ a single argument before the "FROM" clause in your Dockerfile: ```Dockerfile ARG INSTALL_CRON=1 -FROM thecodingmachine/php:{{ $image.php_version }}-v4-slim-apache +FROM thecodingmachine/php:{{ $image.php_version }}-v5-slim-apache # The build triggers automatically the installation of Cron ``` @@ -455,12 +455,12 @@ If such a file is mounted in the image, it will be executed on container startup ```bash docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp \ - -v $PWD/my-startup-script.sh:/etc/container/startup.sh thecodingmachine/php:{{ $image.php_version }}-v4-cli php your-script.php + -v $PWD/my-startup-script.sh:/etc/container/startup.sh thecodingmachine/php:{{ $image.php_version }}-v5-cli php your-script.php ``` ## Using the CLI variant -The CLI images (thecodingmachine/php:{{ $image.php_version }}-v4-cli) expect a command to be passed in parameter. +The CLI images (thecodingmachine/php:{{ $image.php_version }}-v5-cli) expect a command to be passed in parameter. You should override the Docker "command". Important! You should not override the Docker "entrypoint". @@ -468,7 +468,7 @@ Important! You should not override the Docker "entrypoint". **Usage in a Dockerfile:** ```Dockerfile -FROM thecodingmachine/php:{{ $image.php_version }}-v4-cli +FROM thecodingmachine/php:{{ $image.php_version }}-v5-cli CMD ["php", "myprogram.php", "some_param"] ``` @@ -480,7 +480,7 @@ CMD ["php", "myprogram.php", "some_param"] version: '3' services: my_app: - image: thecodingmachine/php:{{ $image.php_version }}-v4-cli + image: thecodingmachine/php:{{ $image.php_version }}-v5-cli command: php myprogram.php some_param ``` @@ -500,7 +500,7 @@ This option is the easiest way to go if you are using the image on a development version: '3' services: my_app: - image: thecodingmachine/php:{{ $image.php_version }}-v4-apache-node16 + image: thecodingmachine/php:{{ $image.php_version }}-v5-apache-node16 volumes: - ~/.ssh:/home/docker/.ssh ``` @@ -521,7 +521,7 @@ Now, let's write a Dockerfile. **Dockerfile** ```yml -FROM thecodingmachine/php:{{ $image.php_version }}-v4-apache +FROM thecodingmachine/php:{{ $image.php_version }}-v5-apache ARG SSH_PRIVATE_KEY ARG SSH_KNOWN_HOSTS @@ -559,7 +559,7 @@ kind: Pod spec: containers: - name: foobar - image: thecodingmachine/php:{{ $image.php_version }}-v4-apache + image: thecodingmachine/php:{{ $image.php_version }}-v5-apache securityContext: allowPrivilegeEscalation: true # never use "false" here. ``` @@ -581,7 +581,7 @@ Your `docker-compose.yml` file will typically look like this: version: '3.3' services: php: - image: thecodingmachine/php:{{ $image.php_version }}-v4-apache + image: thecodingmachine/php:{{ $image.php_version }}-v5-apache ports: - "80:80" environment: @@ -607,7 +607,7 @@ If for some reason, the container name is not "blackfire", you can customize the version: '3.3' services: php: - image: thecodingmachine/php:{{ $image.php_version }}-v4-apache + image: thecodingmachine/php:{{ $image.php_version }}-v5-apache environment: PHP_EXTENSION_BLACKFIRE: 1 BLACKFIRE_AGENT: myblackfire @@ -642,7 +642,7 @@ This command will generate all the files from the "blueprint" templates. You can then test your changes using the `build-and-test.sh` command: ```bash -PHP_VERSION={{ $image.php_version }} BRANCH=v4 VARIANT=apache ./build-and-test.sh +PHP_VERSION={{ $image.php_version }} BRANCH=v5 VARIANT=apache ./build-and-test.sh ``` ### Additional environment in build-and-test.sh diff --git a/utils/docker-bake.blueprint.hcl b/utils/docker-bake.blueprint.hcl index 6e0deaf..d211b0f 100644 --- a/utils/docker-bake.blueprint.hcl +++ b/utils/docker-bake.blueprint.hcl @@ -1,4 +1,4 @@ -{{ $variants := list "apache" "fpm" "cli" }}{{ $versions := list "8.2" "8.1" "8.0" "7.4" "7.3" "7.2" }}{{ $nodeVersions := list "18" "16" "14" "12" "10" }} +{{ $variants := list "apache" "fpm" "cli" }}{{ $versions := list "8.2" "8.1" "8.0" "7.4" "7.3" "7.2" }}{{ $nodeVersions := list "18" "16" "14" }} group "default" { targets = [ {{range $phpV := $versions}} @@ -23,7 +23,7 @@ variable "REPO" {default = "thecodingmachine/php"} variable "TAG_PREFIX" {default = ""} variable "PHP_PATCH_MINOR" {default = ""} variable "IS_RELEASE" {default = "0"} -variable "GLOBAL_VERSION" {default = "v4"} +variable "GLOBAL_VERSION" {default = "v5"} function "tag" { params = [PHP_VERSION, VARIANT] @@ -49,7 +49,7 @@ target "default" { ########################### ## PHP {{ $phpV }} ########################### -# thecodingmachine/php:{{ $phpV }}-v4-slim-{{ $variant }} +# thecodingmachine/php:{{ $phpV }}-v5-slim-{{ $variant }} target "php{{ $phpV | replace "." "" }}-slim-{{ $variant }}" { inherits = ["default"] tags = tag("{{ $phpV }}", "slim-{{ $variant }}") @@ -60,7 +60,7 @@ target "php{{ $phpV | replace "." "" }}-slim-{{ $variant }}" { } } -# thecodingmachine/php:{{ $phpV }}-v4-{{ $variant }} +# thecodingmachine/php:{{ $phpV }}-v5-{{ $variant }} target "php{{ $phpV | replace "." "" }}-{{ $variant }}" { inherits = ["default"] tags = tag("{{ $phpV }}", "{{ $variant }}") @@ -75,7 +75,7 @@ target "php{{ $phpV | replace "." "" }}-{{ $variant }}" { } } {{range $nodeV := $nodeVersions}} -# thecodingmachine/php:{{ $phpV }}-v4-{{ $variant }}-node{{ $nodeV }} +# thecodingmachine/php:{{ $phpV }}-v5-{{ $variant }}-node{{ $nodeV }} target "php{{ $phpV | replace "." "" }}-{{ $variant }}-node{{ $nodeV }}" { inherits = ["default"] tags = tag("{{ $phpV }}", "{{ $variant }}-node{{ $nodeV }}")