docker: Fix missing CLN version in docker image

Changelog-Fixed: Core lightning version in Docker image will not be missing.
This commit is contained in:
ShahanaFarooqui
2025-10-20 00:07:02 -07:00
committed by Sangbida Chaudhuri
parent 31035077fa
commit 5733046617
5 changed files with 18 additions and 5 deletions

View File

@@ -125,6 +125,8 @@ ARG LD=${target_arch}-ld
ARG STRIP=${target_arch}-strip
ARG TARGET=${target_arch_rust}
ARG RUST_PROFILE=release
ARG VERSION
ENV VERSION=${VERSION}
#TODO: set all the following cargo config options via env variables (https://doc.rust-lang.org/cargo/reference/environment-variables.html)
RUN mkdir -p .cargo && tee .cargo/config.toml <<EOF