clightning is working....
This commit is contained in:
parent
81ba7decf1
commit
03a80facb8
@ -26,6 +26,8 @@ RUN gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys ${BITCOIN_CORE_SIGNAT
|
|||||||
|
|
||||||
FROM docker.io/almalinux/9-base:latest
|
FROM docker.io/almalinux/9-base:latest
|
||||||
|
|
||||||
|
COPY --from=builder /usr/local/ /usr/local/
|
||||||
|
|
||||||
RUN dnf update -y && dnf install -y ca-certificates \
|
RUN dnf update -y && dnf install -y ca-certificates \
|
||||||
gnupg2 \
|
gnupg2 \
|
||||||
libatomic \
|
libatomic \
|
||||||
@ -34,10 +36,11 @@ RUN dnf update -y && dnf install -y ca-certificates \
|
|||||||
gzip \
|
gzip \
|
||||||
shadow-utils \
|
shadow-utils \
|
||||||
python3 \
|
python3 \
|
||||||
&& dnf clean all && rm -fr /tmp/* /var/tmp/*
|
python3-setuptools \
|
||||||
|
python3-pip \
|
||||||
|
micropipenv \
|
||||||
COPY --from=builder /usr/local/ /usr/local/
|
&& dnf clean all && rm -fr /tmp/* /var/tmp/* \
|
||||||
|
&& cd /usr/local/libexec/c-lightning/plugins/clnrest/ && micropipenv install --method requirements
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
|||||||
@ -1,10 +1,9 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
#
|
#
|
||||||
# build.sh
|
# build.sh
|
||||||
# Copyright (C) 2024 barry <barry@e14>
|
|
||||||
#
|
#
|
||||||
# Distributed under terms of the MIT license.
|
# Distributed under terms of the MIT license.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
buildah bud -f Containerfile -t clightning-node:{{clightning_version}}
|
||||||
|
|
||||||
echo 0
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@ Description=Core Lightning Server
|
|||||||
[Container]
|
[Container]
|
||||||
Image={{ registry_url }}/clightning:{{ clightning_version }}
|
Image={{ registry_url }}/clightning:{{ clightning_version }}
|
||||||
PodmanArgs=--pod bitcoin-pod
|
PodmanArgs=--pod bitcoin-pod
|
||||||
Exec=--rpcuser={{bitcoin_rpcuser}} --rpcpassword={{bitcoin_rpcpassword}}
|
Exec=--bitcoin-rpcuser={{bitcoin_rpcuser}} --bitcoin-rpcpassword={{bitcoin_rpcpassword}}
|
||||||
|
|
||||||
# Use volume
|
# Use volume
|
||||||
Volume=/home/{{ansible_user}}/.bitcoin:/data/.bitcoin:ro,Z
|
Volume=/home/{{ansible_user}}/.bitcoin:/data/.bitcoin:ro,Z
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user