ipv6机器,安装php7系,全失败。php8正常

版本:社区版 1.10.22-lts
php全系列7.0-7.4

dns 自查:

cat /etc/resolv.conf
nameserver 127.0.0.53
options edns0 trust-ad
search test.local

回环
修改后

root@1panel:~# resolvectl status
Global
         Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
  resolv.conf mode: stub
Current DNS Server: 1.1.1.1
       DNS Servers: 1.1.1.1 2606:4700:4700::1111
        DNS Domain: test.local

Link 2 (enp6s18)
    Current Scopes: DNS
         Protocols: +DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 1.1.1.1
       DNS Servers: 1.1.1.1 8.8.8.8 2606:4700:4700::1111 2001:4860:4860::8888

Link 3 (br-4198b1e8d0f7)
    Current Scopes: none
         Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 4 (docker0)
    Current Scopes: none
         Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 6 (veth3a20887)
    Current Scopes: none
         Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 8 (vethb5e23c6)
    Current Scopes: none
         Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 10 (veth68fbb1a)
    Current Scopes: none
         Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 52 (vethb624741)
    Current Scopes: none
         Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

失败日志发一下

build.log (3.1 KB)

之后我在容器内添加了dns
nano /etc/docker/daemon.json

重新构建,也无法安装,去掉了php扩展,也是失败。

直接修改 /etc/resolv.conf
namserver 增加 8.8.8.8 和 114.114.114.114 试试

感觉和预设的dl-cdn.alpinelinux.org扩展源有关。
换倒xtom后顺利了。

p.s. 1panel升级到最新版后,发现扩展源只有上面那两个了。
是不是自动判断是否是海外服务器,自动剔除国内扩展源?