lorisleiva / laravel-docker

🐳 Generic docker image for Laravel Applications
MIT License
927 stars 313 forks source link

php:8.0-alpine is released #69

Closed rezakeramati closed 3 years ago

rezakeramati commented 3 years ago

php:8.0-alpine is released and this package is still using RC version. RC version has problem with composer array_merge function.

lorisleiva commented 3 years ago

The DockerFile for PHP8 is now using the latest alpine image. Thanks for that. 👍

It's still missing the imagick extension so I can mark it as stable just yet.

tloader11 commented 3 years ago

Hi, I saw that there is a way to get PHP8 with imagick working in a docker container. Unfortunately imagick is still officially not supported, but this seems to work:

https://github.com/Cyconet/docker-php80-fpm/blob/d6e0909d6f2774ae3f7e7d543fccb57dec0d20f7/Dockerfile#L54

ARG IMAGICK_LAST_COMMIT='448c1cd0d58ba2838b9b6dff71c9b7e70a401b90'

RUN mkdir -p /usr/src/php/ext/imagick && \
    curl -fsSL https://github.com/Imagick/imagick/archive/${IMAGICK_LAST_COMMIT}.tar.gz | tar xvz -C /usr/src/php/ext/imagick --strip 1 && \
    docker-php-ext-install imagick

I don't know if creating a new branch with PHP8 and an Imagick RC would be an idea?

lorisleiva commented 3 years ago

Hi there 👋

A few days ago an official RC was released for imagick so I don't think we have long to wait now for official PHP8 support. 🙂