Open harmoniqpunk opened 2 years ago
Hm, I'm afraid LNP Node master branch is not in sync with LNP core. Can you check the docker files for LNP Node in https://github.com/LNP-BP/docker?
@dr-orlovsky I got the same error when build at https://github.com/LNP-BP/docker
Step 10/24 : RUN cargo install --path . --locked --root "${BUILDER_DIR}" --bins --all-features
---> Running in 9631865da76d
Installing lnp_node v0.5.0 (/usr/local/src/lnp)
Updating crates.io index
Updating git repository https://github.com/LNP-BP/lnp-core
error: no matching package named lnp-core
found
location searched: https://github.com/LNP-BP/lnp-core#7897a04e
required by package lnp_node v0.5.0 (/usr/local/src/lnp)
The command '/bin/sh -c cargo install --path . --locked --root "${BUILDER_DIR}" --bins --all-features' returned a non-zero code: 101
When i change the rust version to 'rust:1.56.1-slim-buster' in the Dockerfile, then it can be compiled.
Current LNP Node master is updated and builds locally. But you can't use it with docker for now since it requires pre-released version of rust-bitcoin supporting Taproot which is absent from crates.io
(so all dependent libs on rust-bitcoin also can't be published there).
I'm trying to build the docker image but it can not find lnp-core although the dependency paths and name looks fine.
Classify the bug Put
x
in the boxes below:Describe the problem A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
macOS 11.4, docker engine 20.10.8
FROM rust:1.47.0-slim-buster as builder
docker build -t lnp-node .
Expected behavior
Succesfully build the docker
Logs Please copy and paste content of
rustup default nightly && cargo test --all --all-features -v
in a block below right after "console" line:Additional context Add any other context about the problem here.
Other links Please provide links and references to the affected repositories, code samples etc.