Open majid-vultara opened 2 years ago
=> [2/5] COPY . / 0.3s => ERROR [3/5] RUN apt-get update -y && apt-get install redis libpython-dev -y 1.0s
[3/5] RUN apt-get update -y && apt-get install redis libpython-dev -y: 7 0.587 Err:1 http://deb.debian.org/debian bullseye InRelease 7 0.587 Connection failed [IP: 199.232.46.132 80] 7 0.591 Err:2 http://security.debian.org/debian-security bullseye-security InRelease 7 0.591 Connection failed [IP: 199.232.46.132 80] 7 0.977 Err:3 http://deb.debian.org/debian bullseye-updates InRelease 7 0.977 Connection failed [IP: 199.232.46.132 80] 7 0.984 Reading package lists... 7 0.998 W: Failed to fetch http://deb.debian.org/debian/dists/bullseye/InRelease Connection failed [IP: 199.232.46.132 80] 7 0.998 W: Failed to fetch http://security.debian.org/debian-security/dists/bullseye-security/InRelease Connection failed [IP: 199.232.46.132 80] 7 0.998 W: Failed to fetch http://deb.debian.org/debian/dists/bullseye-updates/InRelease Connection failed [IP: 199.232.46.132 80] 7 0.998 W: Some index files failed to download. They have been ignored, or old ones used instead. 7 1.005 Reading package lists... 7 1.016 Building dependency tree... 7 1.018 Reading state information... 7 1.021 E: Unable to locate package redis 7 1.021 E: Unable to locate package libpython-dev executor failed running [/bin/sh -c apt-get update -y && apt-get install redis libpython-dev -y]: exit code: 100
[3/5] RUN apt-get update -y && apt-get install redis libpython-dev -y:
executor failed running [/bin/sh -c apt-get update -y && apt-get install redis libpython-dev -y]: exit code: 100
The attached dockerfile worked for me. I'll submit it as a PR next week.
Docker version 20.10.12, build e91ed57 MacOS 12.1 (Monterey)
Dockerfile.txt
=> [2/5] COPY . / 0.3s => ERROR [3/5] RUN apt-get update -y && apt-get install redis libpython-dev -y 1.0s