shivammathur/node and setupphp/node
Docker images to run setup-php GitHub Action.
Namespaces
Platforms/OS Architecture
linux/amd64oramd64linux/arm/v7orarm32v7linux/arm64orarm64v8
Image Variants/Tags
latest
- Ubuntu 24.04 (noble), Debian 12 (bookworm)
- PHP 5.6 to PHP 8.5
- Node.js 24.14.1, 22.22.2 (armv7l)
- Yarn 1.22.22
trixie, 13
- Debian 13 (trixie)
- PHP 5.6 to PHP 8.5
- Node.js 24.14.1, 22.22.2 (armv7l)
- Yarn 1.22.22
bookworm, 12
- Debian 12 (bookworm)
- PHP 5.6 to PHP 8.5
- Node.js 24.14.1, 22.22.2 (armv7l)
- Yarn 1.22.22
bullseye, 11
- Debian 11 (bullseye)
- PHP 5.6 to PHP 8.5
- Node.js 24.14.1, 22.22.2 (armv7l)
- Yarn 1.22.22
noble, 2404
- Ubuntu 24.04 (noble)
- PHP 5.6 to PHP 8.5
- Node.js 24.14.1, 22.22.2 (armv7l)
- Yarn 1.22.22
jammy, 2204
- Ubuntu 22.04 (jammy)
- PHP 5.6 to PHP 8.5
- Node.js 24.14.1, 22.22.2 (armv7l)
- Yarn 1.22.22
latest-slim
- Ubuntu 24.04 (jammy), Debian 12 (bookworm)
- Node.js 24.14.1, 22.22.2 (armv7l)
- Yarn 1.22.22
trixie-slim, 13-slim
- Debian 13 (trixie)
- Node.js 24.14.1, 22.22.2 (armv7l)
- Yarn 1.22.22
noble-slim, 2404-slim
- Ubuntu 24.04 (jammy)
- Node.js 24.14.1, 22.22.2 (armv7l)
- Yarn 1.22.22
jammy-slim, 2204-slim
- Ubuntu 22.04 (jammy)
- Node.js 24.14.1, 22.22.2 (armv7l)
- Yarn 1.22.22
PHP version specific tags
These tags install a single PHP release while keeping the same Node.js (24.11.1, 22.21.1 for armv7l) and Yarn (1.22.22) versions listed above.
PHP 8.5
- Ubuntu 24.04:
php-8.5-noble,php-8.5-24.04 - Ubuntu 22.04:
php-8.5-jammy,php-8.5-22.04 - Debian 13:
php-8.5-trixie,php-8.5-13 - Debian 12:
php-8.5-bookworm,php-8.5-12 - Debian 11:
php-8.5-bullseye,php-8.5-11
PHP 8.4
- Ubuntu 24.04:
php-8.4-noble,php-8.4-24.04 - Ubuntu 22.04:
php-8.4-jammy,php-8.4-22.04 - Debian 13:
php-8.4-trixie,php-8.4-13 - Debian 12:
php-8.4-bookworm,php-8.4-12 - Debian 11:
php-8.4-bullseye,php-8.4-11
PHP 8.3
- Ubuntu 24.04:
php-8.3-noble,php-8.3-24.04 - Ubuntu 22.04:
php-8.3-jammy,php-8.3-22.04 - Debian 13:
php-8.3-trixie,php-8.3-13 - Debian 12:
php-8.3-bookworm,php-8.3-12 - Debian 11:
php-8.3-bullseye,php-8.3-11
PHP 8.2
- Ubuntu 24.04:
php-8.2-noble,php-8.2-24.04 - Ubuntu 22.04:
php-8.2-jammy,php-8.2-22.04 - Debian 13:
php-8.2-trixie,php-8.2-13 - Debian 12:
php-8.2-bookworm,php-8.2-12 - Debian 11:
php-8.2-bullseye,php-8.2-11
PHP 8.1
- Ubuntu 24.04:
php-8.1-noble,php-8.1-24.04 - Ubuntu 22.04:
php-8.1-jammy,php-8.1-22.04 - Debian 13:
php-8.1-trixie,php-8.1-13 - Debian 12:
php-8.1-bookworm,php-8.1-12 - Debian 11:
php-8.1-bullseye,php-8.1-11
PHP 8.0
- Ubuntu 24.04:
php-8.0-noble,php-8.0-24.04 - Ubuntu 22.04:
php-8.0-jammy,php-8.0-22.04 - Debian 13:
php-8.0-trixie,php-8.0-13 - Debian 12:
php-8.0-bookworm,php-8.0-12 - Debian 11:
php-8.0-bullseye,php-8.0-11
PHP 7.4
- Ubuntu 24.04:
php-7.4-noble,php-7.4-24.04 - Ubuntu 22.04:
php-7.4-jammy,php-7.4-22.04 - Debian 13:
php-7.4-trixie,php-7.4-13 - Debian 12:
php-7.4-bookworm,php-7.4-12 - Debian 11:
php-7.4-bullseye,php-7.4-11
PHP 7.3
- Ubuntu 24.04:
php-7.3-noble,php-7.3-24.04 - Ubuntu 22.04:
php-7.3-jammy,php-7.3-22.04 - Debian 13:
php-7.3-trixie,php-7.3-13 - Debian 12:
php-7.3-bookworm,php-7.3-12 - Debian 11:
php-7.3-bullseye,php-7.3-11
PHP 7.2
- Ubuntu 24.04:
php-7.2-noble,php-7.2-24.04 - Ubuntu 22.04:
php-7.2-jammy,php-7.2-22.04 - Debian 13:
php-7.2-trixie,php-7.2-13 - Debian 12:
php-7.2-bookworm,php-7.2-12 - Debian 11:
php-7.2-bullseye,php-7.2-11
PHP 7.1
- Ubuntu 24.04:
php-7.1-noble,php-7.1-24.04 - Ubuntu 22.04:
php-7.1-jammy,php-7.1-22.04 - Debian 13:
php-7.1-trixie,php-7.1-13 - Debian 12:
php-7.1-bookworm,php-7.1-12 - Debian 11:
php-7.1-bullseye,php-7.1-11
PHP 7.0
- Ubuntu 24.04:
php-7.0-noble,php-7.0-24.04 - Ubuntu 22.04:
php-7.0-jammy,php-7.0-22.04 - Debian 13:
php-7.0-trixie,php-7.0-13 - Debian 12:
php-7.0-bookworm,php-7.0-12 - Debian 11:
php-7.0-bullseye,php-7.0-11
PHP 5.6
- Ubuntu 24.04:
php-5.6-noble,php-5.6-24.04 - Ubuntu 22.04:
php-5.6-jammy,php-5.6-22.04 - Debian 13:
php-5.6-trixie,php-5.6-13 - Debian 12:
php-5.6-bookworm,php-5.6-12 - Debian 11:
php-5.6-bullseye,php-5.6-11
Platform/OS Architecture specific tags
-
Suffix
amd64,arm32v7,arm64v8to above image variants to get image for specific OS architecture. For exampleshivammathur/node:noble-arm64v8,setupphp/node:noble-arm64v8 -
arm32v7builds are limited to Node.js 22.x, newer major versions won't be added for this architecture.
Build Arguments
type:full(default) orslimto control the feature set.PHP_VERSION: defaults toall; set to a specific version like7.4to build an image containing only that PHP release.
License
The code in this project is licensed under the MIT license. Please see the license file for more information.