ofesseler / gluster_exporter

Gluster Exporter for Prometheus
Apache License 2.0
81 stars 57 forks source link

Failed to build docker images based on your Dockerfile #42

Open beylisstan opened 5 years ago

beylisstan commented 5 years ago

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 commented 4 years ago

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