Closed mrfelton closed 6 months ago
Resolved by switching to more recent rust and using debian instead of alpine:
FROM rust:1.78-bookworm
# References for lndk
ARG LNDK_REF=0f9b3c291af070ac35641d8b817d8e2ef7b8bbdf
# Set the working directory in the Docker image
WORKDIR /usr/src/lndk
# Install protobuf-compiler and other dependencies
RUN apt-get update && apt-get install -y protobuf-compiler git
# Grab and install the latest version of lnd and all related dependencies.
RUN git clone --depth=1 https://github.com/lndk-org/lndk.git . \
&& git reset --hard ${LNDK_REF} \
&& cargo build --release
Describe the bug
failed to select a version for the requirement
clap = "^4.4.6"``Expected Behavior: Should build
Actual Behavior:
Environment
To Reproduce
Try building the following Dockerfile: