Closed colorninja closed 4 months ago
My current workaround is to install it by adding the following to my Dockerfile:
USER root
RUN cd /usr/local/lib/thecodingmachine-php/extensions/current/ && ./install_all.sh && ./disable_all.sh
USER docker
I confirm the issue. I working on it.
As workaround, you can use thecodingmachine/php:8.1.26-v4-apache
instead (.26 for the previous patched version, so unsecure on).
May be similar to https://github.com/thecodingmachine/docker-images-php/issues/381 even though we can see redis
with the specific image.
As i said here https://github.com/thecodingmachine/docker-images-php/issues/381#issuecomment-1919428553
I did not understand whats happened. I rebuild without any related changes... and it's working. Maybe a trouble with apt ? I am not sure about that. I hope that will not happens again.
To verify :
for V in '7.2' '7.3' '7.4' '8.0' '8.1' '8.2' '8.3'; do for D in 'apache' 'fpm' 'cli' 'apache-node20'; do echo -ne "\nPHP $V ($D) : "; docker run --pull always -q --rm -e "PHP_EXTENSIONS=gd" -ti "docker.io/thecodingmachine/php:$V-v4-$D" php -m | grep -E --color=none "(redis|gd)" | tr -s '\r\n' ' '; done; done;
Expected Behavior
Redis is not installed in the fat
thecodingmachine/php:8.1-v4-apache
imageCurrent Behavior
Redis used to work. Recently a new image tag has been pushed and it is now not present in the image.
Possible Solution
I think a slim image may have been deployed on top of the fat one. I am unsure what has changed since docker hub shows updated 2 days ago but there are no related GitHub commits.
Steps to Reproduce (for bugs)
thecodingmachine/php:8.1-v4-apache
docker-compose exec [service] php -m
Context
My pipeline started failing because my system does not work when redis is not available.
Your Environment
thecodingmachine/php:8.1-v4-apache