Fix alpine-docker build in different arch issue#787
Conversation
|
Seems we cannot use qemu-user-static for centos docker. Its hosted multiarch/centos does not have arm64 architecture. But when I pull the x86_64 centos in host x86_64, and build arm64 centos, it will get After I switch back to host arch, it still shows |
|
Using this I can successfully run all the commands of the docker and get a working compilation environment.
|
Oh, I forgot |
|
Err I think we have a much bigger problem... There's no aarch64... |
It's in |
|
Test suite:
|
What does this PR do?
Fix alpine-docker build in different arch issue.
For
spc-gnu-docker, I need more time to implement. It's so weird that when I switch the arch (between host arch and emulated arch), docker will get segment fault (on mac) or /bin/sh not found(on linux) issue, unless removing all the docker things and re-install it. (prune not work)Checklist before merging
*.phpor*.json, run them locally to ensure your changes are valid:PHP_CS_FIXER_IGNORE_ENV=1 composer cs-fixcomposer analysecomposer testbin/spc dev:sort-configsrc/globals/test-extensions.php.extension testortest extensionsto trigger full test suite.