Hello,
When I try to use repo2docker, I don’t seem to get further than step 3/56:
Picked Git content provider.
Cloning into '/tmp/ahhesam/repo2docker7mux9rfu'...
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 8 (delta 0), reused 6 (delta 0), pack-reused 0
Unpacking objects: 100% (8/8), done.
Using CondaBuildPack builder
Step 1/56 : FROM buildpack-deps:bionic
---> 84f9345349b1
Step 2/56 : ENV DEBIAN_FRONTEND=noninteractive
---> Using cache
---> 5fcc005502c4
Step 3/56 : RUN apt-get -qq update && apt-get -qq install --yes --no-install-recommends locales > /dev/null && apt-get -qq purge && apt-get -qq clean && rm -rf /var/lib/apt/lists/*
---> Running in 2819b98fab20
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Temporary failure resolving 'security.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: Package 'locales' has no installation candidate
Removing intermediate container 2819b98fab20
The command '/bin/sh -c apt-get -qq update && apt-get -qq install --yes --no-install-recommends locales > /dev/null && apt-get -qq purge && apt-get -qq clean && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
When I run build the Dockerfile (that I get with the --debug
flag) manually, and set --network=host
, I don’t get these errors.
Is there a way to tell repo2docker that I want to use the host network?
Cheers,
Ahmad