Docker构build失败
我的docker生成命令失败,消息:
Step 3/23 : RUN apt-get install vim -yqq cron -yqq python-software-properties -yqq supervisor -yqq python-dev -yqq python -yqq python3-dev -yqq python-distribute -yqq python-pip -yqq python-numpy -yqq libjpeg8-dev -yqq libfreetype6-dev -yqq libxft-dev -yqq curl -yqq unzip -yqq ---> Running in 38d814924eaa E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/unattended-upgrades/unattended-upgrades_0.90ubuntu0.5_all.deb 404 Not Found [IP: 91.189.88.162 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? The command '/bin/sh -c apt-get install vim -yqq cron -yqq python-software-properties -yqq supervisor -yqq python-dev -yqq python -yqq python3-dev -yqq python-distribute -yqq python-pip -yqq python-numpy -yqq libjpeg8-dev -yqq libfreetype6-dev -yqq libxft-dev -yqq curl -yqq unzip -yqq' returned a non-zero code: 100
我的Dockerfile是(相关部分)
FROM ubuntu:latest RUN apt-get update RUN apt-get install \ vim -yqq \ cron -yqq \ software-properties-common -yqq \ python-software-properties -yqq \ supervisor -yqq\ python-dev -yqq \ python -yqq \ python3-dev -yqq \ python-distribute -yqq \ python-pip -yqq \ python-numpy -yqq \ libjpeg8-dev -yqq \ libfreetype6-dev -yqq \ libxft-dev -yqq \ curl -yqq \ unzip -yqq
上周工作正常,但今天我得到了上述错误信息。 这里发生了什么?
用…build立图像
--no-cache=true
选项
要解决这个问题