Skip to content
This repository was archived by the owner on Mar 9, 2024. It is now read-only.

Docker build fails #11

@ghost

Description

Has anyone gotten the build to work within docker?
Steps to replicate:

git clone https://github.com/ehanoc/pymonero.git
git submodule update --init --recursive --remote
# Build using all available cores
docker build -t monero .

Of the entire log the below entries point to python not being available within the docker container during runtime:

CMake Error at /usr/local/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
Call Stack (most recent call first):
  /usr/local/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/share/cmake-3.13/Modules/FindPythonInterp.cmake:159 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  pybind11/tools/FindPythonLibsNew.cmake:60 (find_package)
  pybind11/tools/pybind11Tools.cmake:16 (find_package)
  pybind11/CMakeLists.txt:33 (include)

If the dockerfile still needs to be customized, please let me know which other dependencies the build may have. I may have time to fix the dockermake

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions