openaustralia / morph

Take the hassle out of web scraping
https://morph.io
GNU Affero General Public License v3.0
461 stars 74 forks source link

buildstep: Dockerfile.cedar-14 fails to build #1335

Open ianheggie-oaf opened 1 month ago

ianheggie-oaf commented 1 month ago

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 make which failed with the following output:

$ make
docker build -t openaustralia/buildstep:cedar-14 -f Dockerfile.cedar-14 .
[+] Building 53.6s (7/21)                                                                                                                                                                                                                docker:default
 => [internal] load .dockerignore                                                                                                                                                                                                                  0.0s
 => => transferring context: 2B                                                                                                                                                                                                                    0.0s
 => [internal] load build definition from Dockerfile.cedar-14                                                                                                                                                                                      0.0s
 => => transferring dockerfile: 3.59kB                                                                                                                                                                                                             0.0s
 => [internal] load metadata for docker.io/heroku/cedar:14                                                                                                                                                                                         2.9s
 => [ 1/17] FROM docker.io/heroku/cedar:14@sha256:457bc14275dc871f81d23b40f7c69523c2bc6ff90977512ea966a0f2a5bff18a                                                                                                                                31.0s
 => => resolve docker.io/heroku/cedar:14@sha256:457bc14275dc871f81d23b40f7c69523c2bc6ff90977512ea966a0f2a5bff18a                                                                                                                                   0.0s
 => => sha256:457bc14275dc871f81d23b40f7c69523c2bc6ff90977512ea966a0f2a5bff18a 1.16kB / 1.16kB                                                                                                                                                     0.0s
 => => sha256:ca0f5d00ade97a90726705706dd789aed5636963e23cdb855e64196b1cd7cf25 2.10kB / 2.10kB                                                                                                                                                     0.0s
 => => sha256:c02c7df4a131d5f0376e1c7f1648add5f443facc8e18c7deeb0e85af7308ec76 34.87MB / 34.87MB                                                                                                                                                   1.4s
 => => sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4 32B / 32B                                                                                                                                                           0.6s
 => => sha256:8b276b980349f362f4f74bf3d3b36a420319c2c848354f6a67a66d01afbed8b1 4.46kB / 4.46kB                                                                                                                                                     1.2s
 => => sha256:b44e0afe276bf337376639451ee381e90aa52731987c2977ddb9a0b998f7f721 500.80MB / 500.80MB                                                                                                                                                12.9s
 => => extracting sha256:c02c7df4a131d5f0376e1c7f1648add5f443facc8e18c7deeb0e85af7308ec76                                                                                                                                                          1.9s
 => => extracting sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4                                                                                                                                                          0.0s
 => => extracting sha256:8b276b980349f362f4f74bf3d3b36a420319c2c848354f6a67a66d01afbed8b1                                                                                                                                                          0.0s
 => => extracting sha256:b44e0afe276bf337376639451ee381e90aa52731987c2977ddb9a0b998f7f721                                                                                                                                                         17.4s
 => [internal] load build context                                                                                                                                                                                                                  0.0s
 => => transferring context: 1.56kB                                                                                                                                                                                                                0.0s
 => [ 2/17] RUN curl https://github.com/gliderlabs/herokuish/releases/download/v0.3.33/herokuish_0.3.33_linux_x86_64.tgz   --silent -L | tar -xzC /bin                                                                                             3.0s
 => ERROR [ 3/17] RUN /bin/herokuish buildpack install                                                                                                                                                                                            16.7s
------                                                                                                                                                                                                                                                  
 > [ 3/17] RUN /bin/herokuish buildpack install:                                                                                                                                                                                                        
2.381 Cloning into '/tmp/buildpacks/00_buildpack-multi'...                                                                                                                                                                                              
4.656 Cloning into '/tmp/buildpacks/01_buildpack-ruby'...
5.895 Cloning into '/tmp/buildpacks/02_buildpack-nodejs'...
16.58 error: pathspec 'v111' did not match any file(s) known to git.
------
Dockerfile.cedar-14:10
--------------------
   8 |     
   9 |     # install herokuish supported buildpacks and entrypoints
  10 | >>> RUN /bin/herokuish buildpack install
  11 |     
  12 |     # Add perl buildpack for morph
--------------------
ERROR: failed to solve: process "/bin/sh -c /bin/herokuish buildpack install" did not complete successfully: exit code: 1
make: *** [Makefile:5: build] Error 1

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