From 9039c9c46e44d57fd120b449f8904b2a479bc4c0 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Fri, 13 May 2022 17:55:23 +0200 Subject: [PATCH] docker: Update name from c-lightning to Core-Lightning --- Dockerfile | 2 +- contrib/docker/linuxarm32v7.Dockerfile | 2 +- tools/docker-entrypoint.sh | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8077edacd..606631b3a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 ." diff --git a/contrib/docker/linuxarm32v7.Dockerfile b/contrib/docker/linuxarm32v7.Dockerfile index 7120befb5..ffcfb4907 100644 --- a/contrib/docker/linuxarm32v7.Dockerfile +++ b/contrib/docker/linuxarm32v7.Dockerfile @@ -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. diff --git a/tools/docker-entrypoint.sh b/tools/docker-entrypoint.sh index c5bccf400..bb06db53a 100755 --- a/tools/docker-entrypoint.sh +++ b/tools/docker-entrypoint.sh @@ -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 %-