nimbus-eth1 icon indicating copy to clipboard operation
nimbus-eth1 copied to clipboard

Fluffy's Dockerfile.portalhive for portal hive debugging is broken

Open kdeme opened this issue 6 months ago • 3 comments

Fails when trying to build:

 => [build 5/6] RUN --mount=type=cache,target=/fluffy/vendor     make deps -j2                                                                                                                                                           0.2s 
 => ERROR [build 6/6] RUN --mount=type=cache,target=/fluffy/vendor <<EOF (set -e...)                                                                                                                                                     0.3s 
------                                                                                                                                                                                                                                        
 > [build 6/6] RUN --mount=type=cache,target=/fluffy/vendor <<EOF (set -e...):                                                                                                                                                                
#0 0.278 Git submodules not found. Running 'git -c submodule.vendor/nimbus-eth2.update=none submodule update --init --recursive; git submodule update vendor/nimbus-eth2; cd vendor/nimbus-eth2; git submodule update --init vendor/eth2-networks; git submodule update --init vendor/holesky; git submodule update --init vendor/sepolia; git submodule update --init vendor/gnosis-chain-configs; git submodule update --init --recursive vendor/nim-kzg4844; cd ../..'.                  
#0 0.278                                                                                                                                                                                                                                      
#0 0.286 fatal: not a git repository (or any of the parent directories): .git
#0 0.294 fatal: not a git repository (or any of the parent directories): .git
#0 0.294 bash: line 2: cd: vendor/nimbus-eth2: No such file or directory
#0 0.302 fatal: not a git repository (or any of the parent directories): .git
#0 0.310 fatal: not a git repository (or any of the parent directories): .git
#0 0.317 fatal: not a git repository (or any of the parent directories): .git
#0 0.325 fatal: not a git repository (or any of the parent directories): .git
#0 0.332 fatal: not a git repository (or any of the parent directories): .git
#0 0.333 
#0 0.333 make: Nothing to be done for 'fluffy'.
#0 0.334 cp: cannot stat '/fluffy/build/fluffy': No such file or directory
------
Dockerfile.portalhive:18
--------------------
  17 |     
  18 | >>> RUN --mount=type=cache,target=/fluffy/vendor <<EOF
  19 | >>>   set -e
  20 | >>>   make fluffy -j${NPROC}
  21 | >>>   cp /fluffy/build/fluffy /usr/local/bin/fluffy
  22 | >>> EOF
  23 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c   set -e\n  make fluffy -j${NPROC}\n  cp /fluffy/build/fluffy /usr/local/bin/fluffy\n" did not complete successfully: exit code: 1

Tried also removing vendor from the dockerignore, did not work.

kdeme avatar Dec 08 '23 12:12 kdeme