this-week-in-rust icon indicating copy to clipboard operation
this-week-in-rust copied to clipboard

Problem building the docker image

Open astrale-sharp opened this issue 1 year ago • 4 comments

Hi there :), big fan long time reader.

I'm trying to build the website but running into issues, when running make build in ./publishing/ apt doesn't succeed to get curl ? and fails at step 4.

Help appreciated.

My system

Docker version: 24.0.5, build 24.0.5-0ubuntu1~22.04.1
OS: Ubuntu 22.04 jammy
Kernel: x86_64 Linux 6.2.0-36-generic

The error

Step 4/20 : RUN apt install -y curl
 ---> Running in 931a9c062076

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package curl

astrale-sharp avatar Nov 08 '23 23:11 astrale-sharp

@andrewpollack any thoughts on this?

nellshamrell avatar Nov 16 '23 01:11 nellshamrell

We're also experiencing some issues with the Docker image on Apple silicon. It will take some time for a group of volunteers to sit down and troubleshoot/come up with a solution for this.

U007D avatar Jan 04 '24 03:01 U007D

It seems like we have gotten this resolved, as it's working without problems for most of us. Is that true, @U007D @astrale-sharp?

bennyvasquez avatar May 02 '24 03:05 bennyvasquez

Hiya, after pulling, I encounter pretty much the same error commit : eb9d064248ef8cb42d7525e17860b86865518af0

 => ERROR [ 4/17] RUN apt-get install -y curl build-essential                                                                                                    0.1s
------
 > [ 4/17] RUN apt-get install -y curl build-essential:
------
Dockerfile:7
--------------------
   5 |     
   6 |     RUN apt-get update
   7 | >>> RUN apt-get install -y curl build-essential
   8 |     
   9 |     # pelican+friends
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get install -y curl build-essential" did not complete successfully: failed to create endpoint 2ga0d09u42g847d3ifnn2m6g1 on network bridge: adding interface veth9fd273e to bridge docker0 failed: Device does not exist
make: *** [Makefile:49 : build] Erreur 1

astrale-sharp avatar May 08 '24 09:05 astrale-sharp