frankenphp icon indicating copy to clipboard operation
frankenphp copied to clipboard

[QUESTION] Image tag

Open ezekel opened this issue 8 months ago • 1 comments

Hello, I have a question about the Docker images.

I'm not sure which image to use for my Dockerfile.

What is the purpose of dunglas/frankenphp:1-builder-php8.4-bookworm?

Should I use this builder image, or is it better to use dunglas/frankenphp:1.5.0-php8.4.6-bookworm?

Thank you for your help!

ezekel avatar Apr 21 '25 12:04 ezekel

The builder image is just necessary to create your own static build of PHP + FrankenPHP.

If you want to run your application inside the image, you can just use the regular bookworm images, they are based on the official PHP debian bookworm images:

FROM dunglas/frankenphp
#or
FROM dunglas/frankenphp:1.5-php8.4
#or
FROM dunglas/frankenphp:1.5.0-php8.4.6
#or
FROM dunglas/frankenphp:1.5.0-php8.4.6-bookworm

and then just install extensions as described here

AlliBalliBaba avatar Apr 22 '25 18:04 AlliBalliBaba