php Languages & Runtimes
PHP runtime built from source via melange.
Pull this image
docker pull ghcr.io/rtvkiz/minimal-php:latest docker pull ghcr.io/rtvkiz/minimal-php:latest-dev The -dev variant adds a shell, package manager and build toolchain. For CI and debugging — not production.
Details
- Repository
- ghcr.io/rtvkiz/minimal-php
- Size (compressed)
- 67 MB
- Built
- 2026-08-13T15:27:59Z (today)
- Architectures
- x86_64, aarch64
- Primary package
- php
- Entrypoint
- /usr/bin/php
- User
- nonroot (65532)
- Working dir
- /app
- Architectures
- x86_64, aarch64
- Environment
- Labels
-
org.opencontainers.image.title minimal-php org.opencontainers.image.description Hardened PHP image built from source via melange with daily CVE patches org.opencontainers.image.url https://github.com/rtvkiz/minimal org.opencontainers.image.source https://github.com/rtvkiz/minimal/tree/main/php org.opencontainers.image.licenses Apache-2.0
- Entrypoint
- /usr/bin/php
- User
- nonroot (65532)
- Working dir
- /app
- Architectures
- x86_64, aarch64
- Environment
- Labels
-
org.opencontainers.image.title minimal-php-dev org.opencontainers.image.description Dev variant of minimal-php: same PHP CLI runtime + shell + build toolchain + git. composer NOT baked in v1. Not for production. org.opencontainers.image.url https://github.com/rtvkiz/minimal org.opencontainers.image.source https://github.com/rtvkiz/minimal/tree/main/php org.opencontainers.image.licenses Apache-2.0 dev.minimal.variant dev
| Tag | Pull | Published |
|---|---|---|
| 8 | ghcr.io/rtvkiz/minimal-php:8 | 2026-08-14 |
| 8.5 | ghcr.io/rtvkiz/minimal-php:8.5 | 2026-08-14 |
| 8.5.9-r0 | ghcr.io/rtvkiz/minimal-php:8.5.9-r0 | 2026-08-14 |
| 8.5.9-r0-20260814 | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260814 | 2026-08-14 |
| latest | ghcr.io/rtvkiz/minimal-php:latest | 2026-08-14 |
| 8-dev | ghcr.io/rtvkiz/minimal-php:8-dev | 2026-08-14 |
| 8.5-dev | ghcr.io/rtvkiz/minimal-php:8.5-dev | 2026-08-14 |
| 8.5.9-r0-20260814-dev | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260814-dev | 2026-08-14 |
| 8.5.9-r0-dev | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-dev | 2026-08-14 |
| latest-dev | ghcr.io/rtvkiz/minimal-php:latest-dev | 2026-08-14 |
| 8.5.9-r0-20260813 | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260813 | 2026-08-13 |
| 8.5.9-r0-20260813-dev | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260813-dev | 2026-08-13 |
| 8.5.9-r0-20260812-dev | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260812-dev | 2026-08-12 |
| 8.5.9-r0-20260812 | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260812 | 2026-08-12 |
| 8.5.9-r0-20260811 | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260811 | 2026-08-11 |
| 8.5.9-r0-20260811-dev | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260811-dev | 2026-08-11 |
| 8.5.9-r0-20260810-dev | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260810-dev | 2026-08-10 |
| 8.5.9-r0-20260810 | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260810 | 2026-08-10 |
| 8.5.9-r0-20260809 | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260809 | 2026-08-09 |
| 8.5.9-r0-20260809-dev | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260809-dev | 2026-08-09 |
| 8.5.9-r0-20260808 | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260808 | 2026-08-08 |
| 8.5.9-r0-20260808-dev | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260808-dev | 2026-08-08 |
| 8.5.9-r0-20260807-dev | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260807-dev | 2026-08-08 |
| 8.5.9-r0-20260807 | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260807 | 2026-08-07 |
| 8.5.9-r0-20260806 | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260806 | 2026-08-06 |
| 8.5.9-r0-20260806-dev | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260806-dev | 2026-08-06 |
| 8.5.9-r0-20260805-dev | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260805-dev | 2026-08-05 |
| 8.5.9-r0-20260805 | ghcr.io/rtvkiz/minimal-php:8.5.9-r0-20260805 | 2026-08-05 |
169 packages in the image, resolved from the SPDX SBOM.
| Package | Version | License |
|---|---|---|
| alpine/ca-certificates | 20260413 | MPL-2.0 AND MIT |
| brotli | v1.2.0 | MIT |
| brotli.yaml | 805df43a1d8bc2ce041ef9f1133fd003fa8a0a10 | Apache-2.0 |
| ca-certificates-bundle | 20260413-r1 | MPL-2.0 AND MIT |
| ca-certificates-bundle | 20260413-r1 | (MPL-2.0 AND MIT) |
| ca-certificates-bundle | 20260413-r1 | — |
| ca-certificates.yaml | 70f58e72ab3f2139f773ba5c148b573e8d835baa | Apache-2.0 |
| curl | curl-8_21_0 | MIT |
| curl.yaml | 9a12ce5222ee10d768d0cd69af8ed4eb2beae76e | Apache-2.0 |
| cyrus-sasl | cyrus-sasl-2.1.28 | BSD-3-Clause |
| cyrus-sasl-heimdal-libs | 2.1.28-r54 | BSD-3-Clause |
| cyrus-sasl-heimdal-libs | 2.1.28-r54 | BSD-3-Clause |
| cyrus-sasl-heimdal-libs | 2.1.28-r54 | — |
| cyrus-sasl-heimdal.yaml | 3b4adc6819f05a74f230e0a38a5c65b4e21db60c | Apache-2.0 |
| e2fsprogs | v1.47.4 | GPL-2.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause AND MIT |
| e2fsprogs.yaml | 4cdc0f257ba04f4476c5323e52f0f389e68e534a | Apache-2.0 |
| gcc.yaml | ee52ebd3c186a06b70547dbfa69282385da38f2b | Apache-2.0 |
| gdbm | 1.26-r5 | GPL-3.0-or-later |
| gdbm | 1.26-r5 | GPL-3.0-or-later |
| gdbm | 1.26-r5 | — |
| gdbm.yaml | 74465ff25399be9a58446991d3c4f364c30df9f3 | Apache-2.0 |
| git/gdbm | v1.26 | GPL-3.0-or-later |
| git/libunistring | v1.4.2 | GPL-2.0-or-later OR LGPL-3.0-or-later |
| git/readline | readline-8.3 | GPL-3.0-or-later |
| glibc | 2.43-r13 | LGPL-2.1-or-later |
| glibc | 2.43-r13 | LGPL-2.1-or-later |
| glibc | 2.43-r13 | — |
| glibc-locale-posix | 2.43-r13 | LGPL-2.1-or-later |
| glibc-locale-posix | 2.43-r13 | LGPL-2.1-or-later |
| glibc-locale-posix | 2.43-r13 | — |
| glibc.yaml | 837e260c2c4077f1183995935db101a5fa325205 | Apache-2.0 |
| GNOME/libxml2 | v2.15.3 | MIT |
| gnutools/gcc | releases/gcc-16.1.0 | GPL-3.0-or-later WITH GCC-exception-3.1 |
| gnutools/glibc | dae425b554207f7c4599c7fac707ad4c08545674 | LGPL-2.1-or-later |
| heimdal | heimdal-7.8.0 | BSD-3-Clause |
| heimdal-libs | 7.8.0-r51 | BSD-3-Clause |
| heimdal-libs | 7.8.0-r51 | BSD-3-Clause |
| heimdal-libs | 7.8.0-r51 | — |
| heimdal.yaml | 1788db950fbaabecb02eda3b5336e24a265be27a | Apache-2.0 |
| keyutils-libs | 1.6.3-r39 | GPL-2.0-or-later OR LGPL-2.0-or-later |
| keyutils-libs | 1.6.3-r39 | (GPL-2.0-or-later OR LGPL-2.0-or-later) |
| keyutils-libs | 1.6.3-r39 | — |
| keyutils.yaml | c039504cb9226463ea6c7e1b81484e8480208722 | Apache-2.0 |
| krb5 | krb5-1.22.2-final | MIT |
| krb5-conf | 1.0-r9 | MIT |
| krb5-conf | 1.0-r9 | MIT |
| krb5-conf | 1.0-r9 | — |
| krb5-conf.yaml | bb37bc90f076f9eb2a12980e43c3f12673133835 | Apache-2.0 |
| krb5-libs | 1.22.2-r2 | MIT |
| krb5-libs | 1.22.2-r2 | MIT |
| krb5-libs | 1.22.2-r2 | — |
| krb5.yaml | 63a99011b1face0d36060eb2d4cffaf97630a578 | Apache-2.0 |
| ld-linux | 2.43-r13 | LGPL-2.1-or-later |
| ld-linux | 2.43-r13 | LGPL-2.1-or-later |
| ld-linux | 2.43-r13 | — |
| libbrotlicommon1 | 1.2.0-r3 | MIT |
| libbrotlicommon1 | 1.2.0-r3 | MIT |
| libbrotlicommon1 | 1.2.0-r3 | — |
| libbrotlidec1 | 1.2.0-r3 | MIT |
| libbrotlidec1 | 1.2.0-r3 | MIT |
| libbrotlidec1 | 1.2.0-r3 | — |
| libcom_err | 1.47.4-r1 | GPL-2.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause AND MIT |
| libcom_err | 1.47.4-r1 | (GPL-2.0-or-later AND LGPL-2.0-or-later AND BSD-3-Clause AND MIT) |
| libcom_err | 1.47.4-r1 | — |
| libcrypt1 | 2.43-r13 | LGPL-2.1-or-later |
| libcrypt1 | 2.43-r13 | LGPL-2.1-or-later |
| libcrypt1 | 2.43-r13 | — |
| libcrypto3 | 3.6.3-r4 | Apache-2.0 |
| libcrypto3 | 3.6.3-r4 | Apache-2.0 |
| libcrypto3 | 3.6.3-r4 | — |
| libcurl-openssl4 | 8.21.0-r1 | MIT |
| libcurl-openssl4 | 8.21.0-r1 | MIT |
| libcurl-openssl4 | 8.21.0-r1 | — |
| libgcc | 16.1.0-r4 | GPL-3.0-or-later WITH GCC-exception-3.1 |
| libgcc | 16.1.0-r4 | (GPL-3.0-or-later WITH GCC-exception-3.1) |
| libgcc | 16.1.0-r4 | — |
| libidn/libidn2 | v2.3.8 | GPL-2.0-or-later AND LGPL-3.0-or-later |
| libidn2 | 2.3.8-r8 | GPL-2.0-or-later AND LGPL-3.0-or-later |
| libidn2 | 2.3.8-r8 | (GPL-2.0-or-later AND LGPL-3.0-or-later) |
| libidn2 | 2.3.8-r8 | — |
| libidn2.yaml | 595a540b3af03caf88af1e6260b49cf9c71f5a58 | Apache-2.0 |
| libldap-2.7 | 2.7.0-r0 | OLDAP-2.8 |
| libldap-2.7 | 2.7.0-r0 | OLDAP-2.8 |
| libldap-2.7 | 2.7.0-r0 | — |
| libnghttp2-14 | 1.70.0-r2 | MIT |
| libnghttp2-14 | 1.70.0-r2 | MIT |
| libnghttp2-14 | 1.70.0-r2 | — |
| libpsl | 0.23.2-r0 | MIT |
| libpsl | 0.23.2 | MIT |
| libpsl | 0.23.2-r0 | MIT |
| libpsl | 0.23.2-r0 | — |
| libpsl.yaml | 922068a7b43868dc86eea9700b80285d3a4e925a | Apache-2.0 |
| libssl3 | 3.6.3-r4 | Apache-2.0 |
| libssl3 | 3.6.3-r4 | Apache-2.0 |
| libssl3 | 3.6.3-r4 | — |
| libunistring | 1.4.2-r2 | GPL-2.0-or-later OR LGPL-3.0-or-later |
| libunistring | 1.4.2-r2 | (GPL-2.0-or-later OR LGPL-3.0-or-later) |
| libunistring | 1.4.2-r2 | — |
| libunistring.yaml | 44bcd0af195f786e83f248bcef66933277c1d6c9 | Apache-2.0 |
| libverto | 0.3.2-r7 | MIT |
| libverto | 0.3.2 | MIT |
| libverto | 0.3.2-r7 | MIT |
| libverto | 0.3.2-r7 | — |
| libverto.yaml | 79c7eda43fae1c44ddd378bb021e59175624ad6e | Apache-2.0 |
| libxcrypt | 4.5.2-r4 | GPL-2.0-or-later AND LGPL-2.1-or-later |
| libxcrypt | v4.5.2 | GPL-2.0-or-later AND LGPL-2.1-or-later |
| libxcrypt | 4.5.2-r4 | (GPL-2.0-or-later AND LGPL-2.1-or-later) |
| libxcrypt | 4.5.2-r4 | — |
| libxcrypt.yaml | f76d3f4a8c71191bd83630f6067bd5768445d4b9 | Apache-2.0 |
| libxml2 | 2.15.3-r3 | MIT |
| libxml2 | 2.15.3-r3 | MIT |
| libxml2 | 2.15.3-r3 | — |
| libxml2-16 | 2.15.3-r3 | MIT |
| libxml2-16 | 2.15.3-r3 | MIT |
| libxml2-16 | 2.15.3-r3 | — |
| libxml2.yaml | c3aa7fb052ac70ed9f5ad24258dc882553d48117 | Apache-2.0 |
| ncurses | 6.6.20260808-r0 | MIT |
| ncurses | 6.6.20260808-r0 | MIT |
| ncurses | 6.6.20260808-r0 | — |
| ncurses-snapshots | v6_6_20260808 | MIT |
| ncurses-terminfo-base | 6.6.20260808-r0 | MIT |
| ncurses-terminfo-base | 6.6.20260808-r0 | MIT |
| ncurses-terminfo-base | 6.6.20260808-r0 | — |
| ncurses.yaml | 82872c2de99075f34ec81627860453e04d5b92f2 | Apache-2.0 |
| nghttp2 | v1.70.0 | MIT |
| nghttp2.yaml | 0f75043dd5e2102707470616302978a67908b9a9 | Apache-2.0 |
| nghttp3 | 1.18.0-r0 | MIT |
| nghttp3 | v1.18.0 | MIT |
| nghttp3 | 1.18.0-r0 | MIT |
| nghttp3 | 1.18.0-r0 | — |
| nghttp3.yaml | dd1909716244bf3f0249d70a7d38d74b0c9d80d4 | Apache-2.0 |
| ngtcp2 | 1.25.0-r1 | MIT |
| ngtcp2 | v1.25.0 | MIT |
| ngtcp2 | 1.25.0-r1 | MIT |
| ngtcp2 | 1.25.0-r1 | — |
| ngtcp2.yaml | bc7281ed42082b787ebe1bdbb5805b377f6ccb4b | Apache-2.0 |
| oniguruma | 6.9.10-r4 | BSD-2-Clause |
| oniguruma | v6.9.10 | BSD-2-Clause |
| oniguruma | 6.9.10-r4 | BSD-2-Clause |
| oniguruma | 6.9.10-r4 | — |
| oniguruma.yaml | ea7c1f6c8ef5074ecd1316c871d096de08f71b7f | Apache-2.0 |
| openldap | OPENLDAP_REL_ENG_2_7_0 | OLDAP-2.8 |
| openldap-2.7.yaml | 99228f4d96e21e906de4cc861336c3d5a6223bdb | Apache-2.0 |
| openssl | openssl-3.6.3 | Apache-2.0 |
| openssl.yaml | c48ecb7ef94ace77404e694cdd5e791557ae3279 | Apache-2.0 |
| php-minimal | 8.5.9-r0 | PHP-3.01 |
| php/melange.yaml | f7373df05a7d1400bd2fd7c965bd213c269b27fd | — |
| pub/scm/linux/kernel/git/dhowells/keyutils | v1.6.3 | GPL-2.0-or-later OR LGPL-2.0-or-later |
| readline | 8.3-r2 | GPL-3.0-or-later |
| readline | 8.3-r2 | GPL-3.0-or-later |
| readline | 8.3-r2 | — |
| readline.yaml | e402be2d67f6e4ed597bbaca3f84cc9215071ff5 | Apache-2.0 |
| sha256:3185acf5ae6119ada86c1dd46c42f2166022be229dab0a32ed6228ac0a77bfc2 | 20230201 | — |
| sha256:c61a232d09d9994509a9a0a92b3861355484086941d345a460ae9e39aa420596 | sha256:c61a232d09d9994509a9a0a92b3861355484086941d345a460ae9e39aa420596 | — |
| sqlite | 3.53.4 | — |
| sqlite-libs | 3.53.4-r0 | blessing |
| sqlite-libs | 3.53.4-r0 | blessing |
| sqlite-libs | 3.53.4-r0 | — |
| sqlite.yaml | 844ca914d9a57afd75d3fed20edfbe8bb629a962 | Apache-2.0 |
| wolfi | 20230201 | — |
| wolfi-baselayout | 20230201-r29 | MIT |
| wolfi-baselayout | 20230201-r29 | MIT |
| wolfi-baselayout | 20230201-r29 | — |
| wolfi-baselayout.yaml | 35e7b4713442869116936fae3fe8cf7c69bc9054 | Apache-2.0 |
| zlib | 1.3.2-r4 | MPL-2.0 AND MIT |
| zlib | v1.3.2 | MPL-2.0 AND MIT |
| zlib | 1.3.2-r4 | (MPL-2.0 AND MIT) |
| zlib | 1.3.2-r4 | — |
| zlib.yaml | a27721c97b2bffc54141307e511a494d464d5459 | Apache-2.0 |
2 high 0 fixable
| CVE | Severity | Package | Installed | Fixed in |
|---|---|---|---|---|
| CVE-2026-54876 | High | libcrypto3 | 3.6.3-r4 | — |
| CVE-2026-54876 | High | libssl3 | 3.6.3-r4 | — |
Everything is verifiable without an account. Copy and run:
Build provenance (SLSA L3)
gh attestation verify oci://ghcr.io/rtvkiz/minimal-php:latest --owner rtvkiz Cosign signature
cosign verify \
--certificate-identity-regexp='https://github.com/rtvkiz/minimal/' \
--certificate-oidc-issuer='https://token.actions.githubusercontent.com' \
ghcr.io/rtvkiz/minimal-php:latest SBOM attestation (SPDX)
cosign verify-attestation --type spdxjson \
--certificate-identity-regexp='https://github.com/rtvkiz/minimal/' \
--certificate-oidc-issuer='https://token.actions.githubusercontent.com' \
ghcr.io/rtvkiz/minimal-php:latest \
| jq -r '.payload | @base64d | fromjson | .predicate' Signatures are logged in the public Rekor transparency log.