mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-19 05:44:12 +01:00
docker: Update name from c-lightning to Core-Lightning
This commit is contained in:
parent
e972e37e8c
commit
9039c9c46e
@ -1,7 +1,7 @@
|
||||
# This dockerfile is meant to compile a core-lightning x64 image
|
||||
# It is using multi stage build:
|
||||
# * downloader: Download litecoin/bitcoin and qemu binaries needed for core-lightning
|
||||
# * builder: Compile core-lightning dependencies, then c-lightning itself with static linking
|
||||
# * builder: Compile core-lightning dependencies, then core-lightning itself with static linking
|
||||
# * final: Copy the binaries required at runtime
|
||||
# The resulting image uploaded to dockerhub will only contain what is needed for runtime.
|
||||
# From the root of the repository, run "docker build -t yourimage:yourtag ."
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This dockerfile is meant to cross compile with a x64 machine for a arm32v7 host
|
||||
# It is using multi stage build:
|
||||
# * downloader: Download litecoin/bitcoin and qemu binaries needed for c-lightning
|
||||
# * downloader: Download litecoin/bitcoin and qemu binaries needed for core-lightning
|
||||
# * builder: Cross compile c-lightning dependencies, then c-lightning itself with static linking
|
||||
# * final: Copy the binaries required at runtime
|
||||
# The resulting image uploaded to dockerhub will only contain what is needed for runtime.
|
||||
|
@ -8,11 +8,11 @@ if [ "$EXPOSE_TCP" == "true" ]; then
|
||||
set -m
|
||||
lightningd "$@" &
|
||||
|
||||
echo "C-Lightning starting"
|
||||
echo "Core-Lightning starting"
|
||||
while read -r i; do if [ "$i" = "lightning-rpc" ]; then break; fi; done \
|
||||
< <(inotifywait -e create,open --format '%f' --quiet "${networkdatadir}" --monitor)
|
||||
echo "C-Lightning started"
|
||||
echo "C-Lightning started, RPC available on port $LIGHTNINGD_RPC_PORT"
|
||||
echo "Core-Lightning started"
|
||||
echo "Core-Lightning started, RPC available on port $LIGHTNINGD_RPC_PORT"
|
||||
|
||||
socat "TCP4-listen:$LIGHTNINGD_RPC_PORT,fork,reuseaddr" "UNIX-CONNECT:${networkdatadir}/lightning-rpc" &
|
||||
fg %-
|
||||
|
Loading…
Reference in New Issue
Block a user