Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker build fails #1

Closed
Bill opened this issue Sep 10, 2015 · 2 comments
Closed

docker build fails #1

Bill opened this issue Sep 10, 2015 · 2 comments

Comments

@Bill
Copy link

Bill commented Sep 10, 2015

The docker build fails. Have you considered starting from the official Python image instead? https://hub.docker.com/_/python/

$ docker build -t echo .
Sending build context to Docker daemon 54.78 kB
Step 0 : FROM stackbrew/ubuntu:saucy
Pulling repository docker.io/stackbrew/ubuntu
195eb90b5349: Download complete 
511136ea3c5a: Download complete 
f127542f0b61: Download complete 
fae16849ebe2: Download complete 
0f4aac48388f: Download complete 
209ea56fda6d: Download complete 
Status: Downloaded newer image for stackbrew/ubuntu:saucy
 ---> 195eb90b5349
Step 1 : MAINTAINER Ted Chen <ted@nephilagraphic.com>
 ---> Running in 828c49037f64
 ---> a4168dca5a58
Removing intermediate container 828c49037f64
Step 2 : RUN echo "deb http://archive.ubuntu.com/ubuntu saucy main universe" > /etc/apt/sources.list &&   apt-get update &&   apt-get upgrade -y -o DPkg::Options::=--force-confold
 ---> Running in 29a7dbce722b
Ign http://archive.ubuntu.com saucy InRelease
Ign http://archive.ubuntu.com saucy Release.gpg
Ign http://archive.ubuntu.com saucy Release
Ign http://archive.ubuntu.com saucy/main amd64 Packages/DiffIndex
Ign http://archive.ubuntu.com saucy/universe amd64 Packages/DiffIndex
Err http://archive.ubuntu.com saucy/main amd64 Packages
  404  Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com saucy/universe amd64 Packages
  404  Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c echo "deb http://archive.ubuntu.com/ubuntu saucy main universe" > /etc/apt/sources.list &&   apt-get update &&   apt-get upgrade -y -o DPkg::Options::=--force-confold' returned a non-zero code: 100
@datacoda
Copy link
Owner

Thanks for bringing this to my attention @Bill

@Bill
Copy link
Author

Bill commented Oct 30, 2015

You're welcome @dataferret. I'm glad the fix worked out. It was nice to see that Dockerfile drop down to 3 lines of code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants