eth-sri / securify2

Securify v2.0
Apache License 2.0
589 stars 135 forks source link

Docker Build fails on Ubuntu 20.0 #2

Open codersguild opened 4 years ago

codersguild commented 4 years ago

The docker build fails every time on this command.

RUN apt-get update && apt-get install -y    software-properties-common    locales

Error

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu60_60.2-3ubuntu3_amd64.deb  Connection failed [IP: 91.189.88.173 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

How to get libicu60_60.2-3ubuntu3_amd64.deb? Any alternate workaround?

andyoulovexy commented 3 years ago

did you solved?i had same error

andyoulovexy commented 3 years ago

The docker build fails every time on this command.

RUN apt-get update && apt-get install -y    software-properties-common    locales

Error

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu60_60.2-3ubuntu3_amd64.deb  Connection failed [IP: 91.189.88.173 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

How to get libicu60_60.2-3ubuntu3_amd64.deb? Any alternate workaround?

did you solved?i had same error

nettrino commented 2 years ago

This seems to be a network configuration issue with docker. To solve I did the following: Edit /etc/docker/daemon.json:

{
    "dns": ["192.10.0.2", "8.8.8.8"]
}

Then restart the docker service with sudo service docker restart. Perhaps the Readme could be updated to reflect this.

codersguild commented 2 years ago

I shall try this out