-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
php:7.4-fpm-alpine3.14 can't install pdo_mysql #1172
Comments
It may be enough. Check it out:
|
I tried it, and get the same error message.
|
Experiencing the same issue with the PHP 8.x images, not that my input really helps much more :) Working FROM php:8.0.7-fpm-alpine3.13
RUN docker-php-ext-install pdo_mysql Not Working FROM php:8.0.7-fpm-alpine3.14
RUN docker-php-ext-install pdo_mysql |
Same issue with bcmath:
|
Same issue with php7.3 and php_intl
|
If you check the docker log there are warnings above these, first one in our case is
and at the very end the We have temporary "solved" this by using 3.13 image. The only thing we have found different is that with the newer version this is not upgraded Please find below the full log
|
Downgrading We downgrade it adding the following lines:
Log until mysql extension is installed without error
|
Thanks @AdrianHL I was able to solve my issue by explicitly requesting the 3.13 tag:
|
Looks like you are all running into the exact issue our build servers were hitting last week. If Alpine 3.13 works but Alpine 3.14 fails with an "operation not permitted", then, in this instance, the issue is not the image. You are hitting what opencontainers/runc#2750 fixes, so you need an updated docker; See also #1170 (comment) |
Just checked it and the pipeline is using
|
it solved when I installed |
My docker file
get error message
The text was updated successfully, but these errors were encountered: