-
Notifications
You must be signed in to change notification settings - Fork 9
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
Qemu only : linux/arm/v7 'Command 'install' is not valid, try 'pecl help' #8
Comments
Triaging this problem, I could reproduce the problem in
Interesting, I could run the build on CircleCI (docker 17.09.0, kernel 4.15.0) https://circleci.com/gh/StefanScherer/circle2test/81?pipelines-ui-opt-out in a quick-and-dirty test environment. In all non-DockerDesktop environments I used this image to register QEMU
and this slightly adjusted Dockerfile to explicitly pull the ARM image for a "normal" FROM arm32v7/php:7.3-apache
RUN pecl install redis && docker-php-ext-enable redis TL;DR It doesn't work on my MacBook, but it works on CircleCI. Different host CPU? 🤔 |
Same issue here running
in this docker file
Will fail in the build phase with the error mentioned above Edit: Mine fails on gitlab pipeline running in docker:19.03.1-dind I believe |
Anyone found a workaround ? |
Resubmitting from docker-library/php#893 .
Slightly odd issue - if I try and build a multiarch image and use a
pecl install redis
as part of it - then it fails on the linux/arm/v7 build. Example Dockerfile :Running :
Fails with
Running :
Works fine. The docker version in front of me is
Docker version 19.03.2, build 6a30dfc
. Let me know if there's any more info I can supply or something to dig into :-)Oh - and running the php:7.3 image on an actual ARM machine also runs
pecl install redis
a-ok as noted on the original issue linked above.The text was updated successfully, but these errors were encountered: