Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildstep: Dockerfile.heroku-18 fails to build #1334

Open
ianheggie-oaf opened this issue Oct 3, 2024 · 0 comments
Open

buildstep: Dockerfile.heroku-18 fails to build #1334

ianheggie-oaf opened this issue Oct 3, 2024 · 0 comments

Comments

@ianheggie-oaf
Copy link

ianheggie-oaf commented Oct 3, 2024

When exploring https://github.com/openaustralia/morph Repositories > Docker images: openaustralia/buildstep - Base image for running scrapers in containers I found the following problem:

I cloned git@github.com:openaustralia/buildstep.git and then ran the second build command fro mMakefile which failed with the following output:

$ docker build -t openaustralia/buildstep:heroku-18 -f Dockerfile.heroku-18 .
[+] Building 36.2s (10/15)                                                                                                                                                                                                               docker:default
 => [internal] load build definition from Dockerfile.heroku-18                                                                                                                                                                                     0.0s
 => => transferring dockerfile: 2.54kB                                                                                                                                                                                                             0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                                  0.0s
 => => transferring context: 2B                                                                                                                                                                                                                    0.0s
 => [internal] load metadata for docker.io/gliderlabs/herokuish:v0.5.36-18                                                                                                                                                                         3.1s
 => [internal] load build context                                                                                                                                                                                                                  0.0s
 => => transferring context: 98B                                                                                                                                                                                                                   0.0s
 => [ 1/11] FROM docker.io/gliderlabs/herokuish:v0.5.36-18@sha256:4be193019888d6e0ce375267bad0c29721af455d8212ad84db27999b08a57e3d                                                                                                                21.7s
 => => resolve docker.io/gliderlabs/herokuish:v0.5.36-18@sha256:4be193019888d6e0ce375267bad0c29721af455d8212ad84db27999b08a57e3d                                                                                                                   0.0s
 => => sha256:4be193019888d6e0ce375267bad0c29721af455d8212ad84db27999b08a57e3d 2.42kB / 2.42kB                                                                                                                                                     0.0s
 => => sha256:a150ebd4b0dcb0f5aec2696dd05aa6ed3d9d6601b935e16cb65633021d7d8cd5 5.07kB / 5.07kB                                                                                                                                                     0.0s
 => => sha256:903d99d36c3bc24d1f8d3dd238ef24e165a6780bc9bfc07fb252235ed1f06ca0 5.62kB / 5.62kB                                                                                                                                                     1.1s
 => => sha256:a56422c27cd79e310e79fde664c59db17a1c5bf4b317a38b936cb3787bc1bfc5 175.39MB / 175.39MB                                                                                                                                                 7.5s
 => => sha256:40dd5be53814ae70b2898558673b7ea18d58bf7ab3433560b9ce3cb76d9ff0b1 26.71MB / 26.71MB                                                                                                                                                   1.9s
 => => sha256:e782420e38643f6d5878163a3f45f964a15fcdf1b5ec2a400c9b05d2fc37ad51 755B / 755B                                                                                                                                                         1.8s
 => => extracting sha256:40dd5be53814ae70b2898558673b7ea18d58bf7ab3433560b9ce3cb76d9ff0b1                                                                                                                                                          0.9s
 => => sha256:37227ce2bb979eda1099635c88be9f687c8f7599bc27cf404f4d509f8e38a044 226.66MB / 226.66MB                                                                                                                                                11.7s
 => => sha256:7488df1a17c9d1b260bda3302789ae0d0ec10a91e8175f32ea6bc3d7ca7fed67 459.19kB / 459.19kB                                                                                                                                                 2.7s
 => => sha256:6d4993e432e0140b3afbcf6baa8d607981e5ae2ce13e1c369c03ce616fe1730e 2.38MB / 2.38MB                                                                                                                                                     3.7s
 => => extracting sha256:903d99d36c3bc24d1f8d3dd238ef24e165a6780bc9bfc07fb252235ed1f06ca0                                                                                                                                                          0.0s
 => => sha256:2ee3fc7823c29ec7e2f66bdbd852107197b4c2e0b198ef488c5df9f8becd1e61 58.99MB / 58.99MB                                                                                                                                                   8.7s
 => => extracting sha256:a56422c27cd79e310e79fde664c59db17a1c5bf4b317a38b936cb3787bc1bfc5                                                                                                                                                          6.1s
 => => sha256:19fa7feb3e78a2c40d9b0da3e1b531f20bf3a040e187c76846e03a5d7c9a0ffd 289B / 289B                                                                                                                                                         8.2s
 => => sha256:d8ac14bce25df342942c9d840860c628bb79b4bf576b7fdaa7d62ecdf3bcf309 14.16kB / 14.16kB                                                                                                                                                   8.9s
 => => extracting sha256:e782420e38643f6d5878163a3f45f964a15fcdf1b5ec2a400c9b05d2fc37ad51                                                                                                                                                          0.0s
 => => extracting sha256:37227ce2bb979eda1099635c88be9f687c8f7599bc27cf404f4d509f8e38a044                                                                                                                                                          6.7s
 => => extracting sha256:7488df1a17c9d1b260bda3302789ae0d0ec10a91e8175f32ea6bc3d7ca7fed67                                                                                                                                                          0.0s
 => => extracting sha256:6d4993e432e0140b3afbcf6baa8d607981e5ae2ce13e1c369c03ce616fe1730e                                                                                                                                                          0.0s
 => => extracting sha256:2ee3fc7823c29ec7e2f66bdbd852107197b4c2e0b198ef488c5df9f8becd1e61                                                                                                                                                          0.5s
 => => extracting sha256:19fa7feb3e78a2c40d9b0da3e1b531f20bf3a040e187c76846e03a5d7c9a0ffd                                                                                                                                                          0.0s
 => => extracting sha256:d8ac14bce25df342942c9d840860c628bb79b4bf576b7fdaa7d62ecdf3bcf309                                                                                                                                                          0.0s
 => [ 2/11] RUN /bin/herokuish buildpack install https://github.com/miyagawa/heroku-buildpack-perl.git 2da7480a8339f01968ce3979655555a0ade20564                                                                                                    2.8s
 => [ 3/11] ADD mitmproxy-ca-cert.pem /usr/local/share/ca-certificates/mitmproxy-ca-cert.crt                                                                                                                                                       0.0s 
 => [ 4/11] RUN update-ca-certificates                                                                                                                                                                                                             0.8s
 => [ 5/11] ADD prerun.rb /usr/local/lib/prerun.rb                                                                                                                                                                                                 0.0s
 => ERROR [ 6/11] RUN apt-get update && apt-get install -y time libblas-dev liblapack-dev gfortran swig protobuf-compiler libprotobuf-dev libsqlite3-dev poppler-utils libffi-dev                                                                  7.6s
------                                                                                                                                                                                                                                                  
 > [ 6/11] RUN apt-get update && apt-get install -y time libblas-dev liblapack-dev gfortran swig protobuf-compiler libprotobuf-dev libsqlite3-dev poppler-utils libffi-dev:                                                                             
0.855 Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]                                                                                                                                                                                  
1.061 Ign:2 http://apt.postgresql.org/pub/repos/apt bionic-pgdg InRelease                                                                                                                                                                               
1.375 Err:3 http://apt.postgresql.org/pub/repos/apt bionic-pgdg Release                                                                                                                                                                                 
1.375   404  Not Found [IP: 147.75.85.69 80]                                                                                                                                                                                                            
2.477 Get:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease [102 kB]
2.864 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [102 kB]
3.251 Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB]
4.085 Get:7 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]
5.501 Get:8 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1637 kB]
5.676 Get:9 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages [3373 kB]
6.055 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2411 kB]
6.303 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3786 kB]
6.889 Reading package lists...
7.591 E: The repository 'http://apt.postgresql.org/pub/repos/apt bionic-pgdg Release' does not have a Release file.
------
Dockerfile.heroku-18:19
--------------------
  17 |     # libffi-dev needed by python cffi
  18 |     # time is needed directly by morph.io for scraper run measurements
  19 | >>> RUN apt-get update && apt-get install -y time libblas-dev liblapack-dev gfortran swig protobuf-compiler libprotobuf-dev libsqlite3-dev poppler-utils libffi-dev
  20 |     
  21 |     # PhantomJS has been deprecated
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y time libblas-dev liblapack-dev gfortran swig protobuf-compiler libprotobuf-dev libsqlite3-dev poppler-utils libffi-dev" did not complete successfully: exit code: 100

versions:

$->(127) docker -v
Docker version 24.0.5, build ced0996

$ make -v
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

$ uname -a
Linux ben 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

OS: Ubuntu 24.04.1 LTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant