Add to Dockerfile
RUN echo "deb http://archive.ubuntu.com/ubuntu/ raring main universe" >> /etc/apt/sources.listIf stills has errors, like this:
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources 404 Not Found [IP: 91.189.91.24 80]
Change to
RUN echo "deb http://us.ubuntu.com/ubuntu/ raring main universe" >> /etc/apt/sources.listLink: http://mmbash.de/blog/failed-fetch-with-docker-build-and-apt-get-update/
Add param to command build --no-cache
docker build --no-cache mike/node-gitpull .
Continue ...
0 nhận xét:
Đăng nhận xét