Building PHP docker images in a better way with Wolfi-OS

⚠️ DEPRECATED: DO NOT USE THIS APPROACH ANYMORE This blog post contains outdated information. Chainguard has significantly reduced its commitment to open source, and the wolfiphp approach described here is no longer recommended for production use. See the wolfiphp announcement for more details. Alternative: Use Debian’s official packages with apt-get install php8.4-cli and related packages. While images may be larger, Debian provides stable, openly maintained PHP packages without dependency on corporate-controlled initiatives. ...

April 6, 2024 · 8 min · Shyim