compose: add build args and remove defaults

- repository and hashes
- bitcoin version and sha256sums hash
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
Lakshya Singh
2024-03-13 22:00:22 +05:30
parent 4eab2f968a
commit 91e4c9b8af
7 changed files with 47 additions and 23 deletions

View File

@@ -12,9 +12,10 @@ RUN apk update && \
protobuf-dev \
rust
ARG VLS_GIT_HASH=5712eb74b672ffd8b691b9e772e05a827d03e7df
RUN echo building vlsd from hash: $VLS_GIT_HASH
RUN git clone https://gitlab.com/lightning-signer/validating-lightning-signer.git vls
ARG VLS_GIT_HASH \
VLS_REPO
RUN echo "building vlsd from hash: $VLS_GIT_HASH"
RUN git clone $VLS_REPO vls
RUN cd vls && \
git checkout $VLS_GIT_HASH && \
cargo install --locked --path ./vls-proxy --bin vlsd2 --profile release --root /usr/local/ && \