aws-elk-billing icon indicating copy to clipboard operation
aws-elk-billing copied to clipboard

Step 2/21 : RUN apt-get update && apt-get install -y --no-install-recommends results in lots of errors, cannot compile/run

Open kamal2222ahmed opened this issue 8 years ago • 0 comments

Step 2/21 : RUN apt-get update && apt-get install -y --no-install-recommends g++ gcc libc6-dev make && rm -rf /var/lib/apt/lists/* ---> Running in 9c96ac237522 Err http://archive.ubuntu.com trusty InRelease

Err http://archive.ubuntu.com trusty-updates InRelease

Err http://archive.ubuntu.com trusty-security InRelease

Err http://archive.ubuntu.com trusty Release.gpg Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.162 80] Err http://archive.ubuntu.com trusty-updates Release.gpg Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.162 80] Err http://archive.ubuntu.com trusty-security Release.gpg Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.162 80] Reading package lists... W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.162 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.162 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.162 80]

W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... E: Unable to locate package gcc E: Unable to locate package libc6-dev E: Package 'make' has no installation candidate Building dependency tree... Reading state information... Package make 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

ERROR: Service 'aws-elk-billing' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y --no-install-recommends g++ gcc libc6-dev make && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

kamal2222ahmed avatar Oct 27 '17 17:10 kamal2222ahmed