Я изо всех сил пытался построить
FROM rocker/r-ver:3.4.4 MAINTAINER Dennis Leão RUN apt-get -y update && \ apt-get install -y build-essential curl openssl
Но я получаю следующую ошибку
Err:1 http://security-cdn.debian.org/debian-security stretch/updates InRelease Could not connect to security-cdn.debian.org:80 (151.101.252.204). - connect (111: Connection refused) Err:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease Could not connect to cdn-fastly.deb.debian.org:80 (151.101.252.204). - connect (111: Connection refused) Err:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease Unable to connect to cdn-fastly.deb.debian.org:http: Reading package lists... W: Failed to fetch http://deb.debian.org/debian/dists/stretch/InRelease Could not connect to cdn-fastly.deb.debian.org:80 (151.101.252.204). - connect (111: Connection refused) W: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/InRelease Could not connect to security-cdn.debian.org:80 (151.101.252.204). - connect (111: Connection refused) W: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/InRelease Unable to connect to cdn-fastly.deb.debian.org:http: 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... E: Unable to locate package build-essential E: Unable to locate package curl
Я использую Macos Mojave, но я смог собрать на Ubuntu 16. Что я могу сделать?
Ну, в конце концов, это была проблема DNS, изменение DNS моего Mac решило эту проблему.