当您使用 alpine 基本图像而不是 ubuntu 时。因此, alpine 的软件包管理器是 apk 而不是 apt 或 apt-get 命令应该是. RUN apk update && \ apk add --no-cache nginx
確定! 回上一頁