KEINOS / Dockerfile_of_PHP8-JIT

✅ Dockerfile of PHP8.0 with JIT Enabled in Alpine Image.
https://arkadiuszkondas.com/how-to-run-php-8-with-jit-support-using-docker/
9 stars 4 forks source link

Pecl is gone #13

Closed jaapio closed 4 years ago

jaapio commented 4 years ago

In the latest image pecl isn't available anymore, where it was before. Is it possible to readd pecl?

KEINOS commented 4 years ago

I believe it's never been in the image. The official image php:7-alpine does though.

But, indeed, it's worth adding pecl command or a script to add PECL packages such like docker-php-ext-pecl to lighten the image size.

I'll look into it.

jaapio commented 4 years ago

I did have an image based on yours containing pecl. So somehow it was there. Thanks for looking in to this :+1:

KEINOS commented 4 years ago

@jaapio

I featured the pecl command as requested. Also, featured the docker-php-ext-pecl script that installs PECL packages from the source.

And thanks for the requesting which I realized that docker-php-ext-install didn't run on-the-fly, so I did fix them as well.

Please update the image and try.

docker pull keinos/php8-jit:latest

Here are some samples that did work on macOS Mojave (Intel) and RaspberryPi3 (ARM7).