Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Failed to build docker images based on your Dockerfile #42

Open
beylisstan opened this issue Jul 4, 2019 · 1 comment
Open

Failed to build docker images based on your Dockerfile #42

beylisstan opened this issue Jul 4, 2019 · 1 comment

Comments

@beylisstan
Copy link

Steps to reproduce:

  1. git clone https://github.com/ofesseler/gluster_exporter
  2. docker build . -t beylistan/gluster-exporter

Step 6/19 : RUN apt-get update && apt-get install -y apt-utils apt-transport-https ca-certificates gnupg2
---> Running in 8cfff2a0bf71
Err:1 http://deb.debian.org/debian stretch InRelease
Temporary failure resolving 'deb.debian.org'
Err:2 http://security.debian.org/debian-security stretch/updates InRelease
Temporary failure resolving 'security.debian.org'
Err:3 http://deb.debian.org/debian stretch-updates InRelease
Temporary failure resolving 'deb.debian.org'
Reading package lists...
W: Failed to fetch http://deb.debian.org/debian/dists/stretch/InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/InRelease Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/InRelease Temporary failure resolving 'deb.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
Package apt-utils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
apt

Package gnupg2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
gpgv

E: Package 'apt-utils' has no installation candidate
E: Unable to locate package apt-transport-https
E: Unable to locate package ca-certificates
E: Package 'gnupg2' has no installation candidate
The command '/bin/sh -c apt-get update && apt-get install -y apt-utils apt-transport-https ca-certificates gnupg2' returned a non-zero code: 100

@ofesseler
Copy link
Owner

Looks like you have some network errors since deb.debian.orgis resolving.

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

No branches or pull requests

2 participants