alpine 和 Debian 镜像更改源,及安装软件并删除缓存:alpine:sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && \ apk update && \ apk add --no-cache gcc Debian:se