apple / apple/coremltools

can docker to be used?

Open
#2,527 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
5.4k
Forks
850
Avg merge
4d 5h
Merged PRs (30d)
10

Description

## ❓Question
Sending build context to Docker daemon 4.096kB
Step 1/18 : FROM ubuntu:18.04
---> f9a80a55f492
Step 2/18 : RUN apt-get -y update && apt-get -y install build-essential libstdc++6 python-setuptools curl git libssl-dev make vim-common zlib1g-dev libffi-dev libbz2-dev libopenblas-dev liblapack-dev zsh uuid-dev gobjc++
---> Running in 9da8b1fcbbab
Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Could not connect to archive.ubuntu.com:80 (185.125.190.81), connection timed out Could not connect to archive.ubuntu.com:80 (185.125.190.82), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.91.82), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.91.83), connection timed out Could not connect to archive.ubuntu.com:80 (185.125.190.83), connection timed out
Err:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Unable to connect to archive.ubuntu.com:http:
Err:3 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Unable to connect to archive.ubuntu.com:http:
Err:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Could not connect to security.ubuntu.com:80 (91.189.91.82), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.83), connection timed out Could not connect to security.ubuntu.com:80 (185.125.190.83), connection timed out Could not connect to security.ubuntu.com:80 (185.125.190.81), connection timed out Could not connect to security.ubuntu.com:80 (185.125.190.82), connection timed out [IP: 185.125.190.82 80]
Reading package lists...
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not connect to archive.ubuntu.com:80 (185.125.190.81), connection timed out Could not connect to archive.ubuntu.com:80 (185.125.190.82), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.91.82), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.91.83), connection timed out Could not connect to archive.ubuntu.com:80 (185.125.190.83), connection timed out
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Unable to connect to archive.ubuntu.com:http:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Unable to connect to archive.ubuntu.com:http:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Could not connect to security.ubuntu.com:80 (91.189.91.82), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.83), connection timed out Could not connect to security.ubuntu.com:80 (185.125.190.83), connection timed out Could not connect to security.ubuntu.com:80 (185.125.190.81), connection timed out Could not connect to security.ubuntu.com:80 (185.125.190.82), connection timed out [IP: 185.125.190.82 80]
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 python-setuptools
E: Unable to locate package curl
E: Unable to locate package git
E: Unable to locate package libssl-dev
E: Unable to locate package make
E: Unable to locate package vim-common
E: Unable to locate package zlib1g-dev
E: Unable to locate package libffi-dev
E: Unable to locate package libbz2-dev
E: Unable to locate package libopenblas-dev
E: Unable to locate package liblapack-dev
E: Unable to locate package zsh
E: Unable to locate package uuid-dev
E: Unable to locate package gobjc+
E: Couldn't find any package by regex 'gobjc+'
The command '/bin/sh -c apt-get -y update && apt-get -y install build-essential libstdc++6 python-setuptools curl git libssl-dev make vim-common zlib1g-dev libffi-dev libbz2-dev libopenblas-dev liblapack-dev zsh uuid-dev gobjc++' returned a non-zero code: 100

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Docker build and checking whether the container can reach archive.ubuntu.com and security.ubuntu.com. Review the Docker build configuration and dependency installation command shown in the report; done means the packages install successfully and the image build completes.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python, ubuntu
Domain
build-system, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.