crazyhottommy / wholebrain_docker

docker file for wholebrain http://www.wholebrainsoftware.org/cms/installing-wholebrain-on-ubuntudebian/
5 stars 0 forks source link

Build failed #1

Open alexlenail opened 1 year ago

alexlenail commented 1 year ago

I'm trying to build this docker image for an apple silicon mac.

Looks like rocker/geospatial:3.6.1 is outdated. Is there another base image we could use?

 docker build . -t wholebrain01062020 -m 8g
[+] Building 6.4s (5/11)
 => [internal] load build definition from Dockerfile                                                                                                                                                         0.0s
 => => transferring dockerfile: 616B                                                                                                                                                                         0.0s
 => [internal] load .dockerignore                                                                                                                                                                            0.0s
 => => transferring context: 2B                                                                                                                                                                              0.0s
 => [internal] load metadata for docker.io/rocker/geospatial:3.6.1                                                                                                                                           2.8s
 => [1/8] FROM docker.io/rocker/geospatial:3.6.1@sha256:aa9f4fe31ee13726945923c8012814e265dca753ce9ee151c870a24cad3643b4                                                                                     0.1s
 => => resolve docker.io/rocker/geospatial:3.6.1@sha256:aa9f4fe31ee13726945923c8012814e265dca753ce9ee151c870a24cad3643b4                                                                                     0.0s
 => => sha256:4be739eb01b727fb7f31e527a3997ae0c99c735c9899a83864d7d3282dbafc18 19.16kB / 19.16kB                                                                                                             0.0s
 => => sha256:aa9f4fe31ee13726945923c8012814e265dca753ce9ee151c870a24cad3643b4 2.42kB / 2.42kB                                                                                                               0.0s
 => ERROR [2/8] RUN apt update && apt install -y --no-install-recommends   libavcodec-dev   libavformat-dev   libswscale-dev   libtbb-dev   libdc1394-22-dev                                                 3.5s
------
 > [2/8] RUN apt update && apt install -y --no-install-recommends   libavcodec-dev   libavformat-dev   libswscale-dev   libtbb-dev   libdc1394-22-dev:
#5 0.240
#5 0.240 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
#5 0.240
#5 0.559 Ign:1 http://security.debian.org/debian-security stretch/updates InRelease
#5 0.561 Ign:2 http://deb.debian.org/debian stretch InRelease
#5 0.581 Err:3 http://security.debian.org/debian-security stretch/updates Release
#5 0.581   404  Not Found [IP: 151.101.66.132 80]
#5 0.585 Ign:4 http://deb.debian.org/debian stretch-updates InRelease
#5 0.607 Err:5 http://deb.debian.org/debian stretch Release
#5 0.607   404  Not Found
#5 0.629 Err:6 http://deb.debian.org/debian stretch-updates Release
#5 0.629   404  Not Found
#5 0.675 Reading package lists...
#5 3.436 E: The repository 'http://security.debian.org/debian-security stretch/updates Release' does no longer have a Release file.
#5 3.436 E: The repository 'http://deb.debian.org/debian stretch Release' does no longer have a Release file.
#5 3.436 E: The repository 'http://deb.debian.org/debian stretch-updates Release' does no longer have a Release file.
------
executor failed running [/bin/sh -c apt update && apt install -y --no-install-recommends   libavcodec-dev   libavformat-dev   libswscale-dev   libtbb-dev   libdc1394-22-dev]: exit code: 100
alexlenail commented 1 year ago

Also why does this image start with a geospatial base image? Does the base image include any essential packages?

crazyhottommy commented 1 year ago

I forgot why I choose that one, you can use a different version https://hub.docker.com/r/rocker/geospatial and try. It worked for me.