使用alpine:3.14 编译php-7.3.31 扩展报 make: /bin/sh: Operation not permitted 错误,alpine:3.13就没有问题。经过查找,发现是低版本的docker runc没有更新造成的
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; 20.10.4 and above includes the updated runc.
See also #1170 (comment)
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!