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

Dockerfile Build Error #1

Open
AdamRTomkins opened this issue Mar 11, 2017 · 0 comments
Open

Dockerfile Build Error #1

AdamRTomkins opened this issue Mar 11, 2017 · 0 comments

Comments

@AdamRTomkins
Copy link
Contributor

Failiure to build docker file on my system, with error:

Get:20 http://httpredir.debian.org/debian/ jessie/main python-wheel all 0.24.0-1 [47.5 kB]
E: Failed to fetch http://httpredir.debian.org/debian/pool/main/p/python2.7/libpython2.7_2.7.9-2_amd64.deb 404 Not Found [IP: 151.101.192.204 80]

E: Failed to fetch http://httpredir.debian.org/debian/pool/main/p/python2.7/libpython2.7-dev_2.7.9-2_amd64.deb 404 Not Found [IP: 151.101.192.204 80]

E: Failed to fetch http://httpredir.debian.org/debian/pool/main/p/python2.7/python2.7-dev_2.7.9-2_amd64.deb 404 Not Found [IP: 151.101.192.204 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Fetched 1595 kB in 1s (823 kB/s)
The command '/bin/sh -c apt-get install -y --force-yes --force-yes python python-dev python-distribute python-pip' returned a non-zero code: 100

Fix:

Add the following to the top of the docker file, after FROM: and MAINTAINER:

RUN apt-get update && apt-get install -y apt-transport-https

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

1 participant