From feb615106627069c927ca144e6312294365f466e Mon Sep 17 00:00:00 2001 From: azuchi Date: Sun, 31 Oct 2021 15:41:56 +0900 Subject: [PATCH] Add LIGHTNINGD_NETWORK env variable to Dockerfile for ARM Changelog-Added: Docker build for ARM defaults to `bitcoin`, but can be overridden with the `LIGHTNINGD_NETWORK` envvar. --- contrib/linuxarm32v7.Dockerfile | 1 + contrib/linuxarm64v8.Dockerfile | 1 + 2 files changed, 2 insertions(+) diff --git a/contrib/linuxarm32v7.Dockerfile b/contrib/linuxarm32v7.Dockerfile index e3064b5b3e26..fe843a51da2c 100644 --- a/contrib/linuxarm32v7.Dockerfile +++ b/contrib/linuxarm32v7.Dockerfile @@ -104,6 +104,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends socat inotify-t ENV LIGHTNINGD_DATA=/root/.lightning ENV LIGHTNINGD_RPC_PORT=9835 ENV LIGHTNINGD_PORT=9735 +ENV LIGHTNINGD_NETWORK=bitcoin RUN mkdir $LIGHTNINGD_DATA && \ touch $LIGHTNINGD_DATA/config diff --git a/contrib/linuxarm64v8.Dockerfile b/contrib/linuxarm64v8.Dockerfile index bb29aead50fe..4c461b688afc 100644 --- a/contrib/linuxarm64v8.Dockerfile +++ b/contrib/linuxarm64v8.Dockerfile @@ -103,6 +103,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends socat inotify-t ENV LIGHTNINGD_DATA=/root/.lightning ENV LIGHTNINGD_RPC_PORT=9835 ENV LIGHTNINGD_PORT=9735 +ENV LIGHTNINGD_NETWORK=bitcoin RUN mkdir $LIGHTNINGD_DATA && \ touch $LIGHTNINGD_DATA/config