Skip to content

Unable to build Dockerfile on M2 OSX #7812

@s373nZ

Description

@s373nZ

I was starting to take a look at #7649, but I'm currently unable to build the Dockerfile from an M2 on OSX. Getting the following error:

------                                                                           
 > [builder 10/16] RUN ./configure --enable-static && make && poetry run make install:
0.153 CSANFLAGS =
0.307 Compiling ccan/tools/configurator/configurator...done
0.916 ./configure: 368: ccan/tools/configurator/configurator: not found
------
Dockerfile:202
--------------------
 200 |     RUN poetry lock --no-update && poetry install
 201 |     
 202 | >>> RUN ./configure --enable-static && make && poetry run make install
 203 |     
 204 |     # Export the requirements for the plugins so we can install them in builder-python stage
--------------------
ERROR: failed to solve: process "/bin/sh -c ./configure --prefix=/tmp/lightning_install --enable-static && poetry run make install" did not complete successfully: exit code: 127

Fails on both master and v24.08.2. Tried out a bunch of local hacks to /configure and Makefile to play around with paths and prefixes for the configurator, but no luck so far.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BOUNTY! 🫰A bounty is available for this PRmac

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions