Step 2/6 : RUN apk add --no-cache python2 g++ make ---> [Warning] IPv4 forwarding is disabled. Networking will not work. ---> Running in 00076a48df5f fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/main: temporary error (try again later) WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/community: temporary error (try again later) ERROR: unable to select packages: g++ (no such package): required by: world[g++] make (no such package): required by: world[make] python2 (no such package): required by: world[python2]
重启Docker Daemon守护进程:systemctl daemon-reload
重启Docker Cli服务:systemctl restart docker.service