@@ -10,15 +10,15 @@ SHELL ["/bin/bash", "-euo", "pipefail", "-c"]
10
10
11
11
FROM base-host AS downloader-linux-amd64
12
12
13
- ARG TARBALL_ARCH =x86_64-linux-gnu
13
+ ARG target_arch_tarball =x86_64-linux-gnu
14
14
15
15
FROM base-host AS downloader-linux-arm64
16
16
17
- ARG TARBALL_ARCH =aarch64-linux-gnu
17
+ ARG target_arch_tarball =aarch64-linux-gnu
18
18
19
19
FROM base-host AS downloader-linux-arm
20
20
21
- ARG TARBALL_ARCH =arm-linux-gnueabihf
21
+ ARG target_arch_tarball =arm-linux-gnueabihf
22
22
23
23
FROM downloader-${TARGETOS}-${TARGETARCH} AS downloader
24
24
@@ -28,7 +28,7 @@ RUN apt-get update && \
28
28
29
29
ARG BITCOIN_VERSION=27.1
30
30
ARG BITCOIN_URL=https://bitcoincore.org/bin/bitcoin-core-${BITCOIN_VERSION}
31
- ARG BITCOIN_TARBALL=bitcoin-${BITCOIN_VERSION}-${TARBALL_ARCH }.tar.gz
31
+ ARG BITCOIN_TARBALL=bitcoin-${BITCOIN_VERSION}-${target_arch_tarball }.tar.gz
32
32
33
33
WORKDIR /opt/bitcoin
34
34
@@ -46,7 +46,7 @@ RUN tar xzf ${BITCOIN_TARBALL} --strip-components=1
46
46
ARG LITECOIN_VERSION=0.16.3
47
47
ARG LITECOIN_BASE_URL=https://download.litecoin.org/litecoin-${LITECOIN_VERSION}
48
48
ARG LITECOIN_URL=${LITECOIN_BASE_URL}/linux
49
- ARG LITECOIN_TARBALL=litecoin-${LITECOIN_VERSION}-${TARBALL_ARCH }.tar.gz
49
+ ARG LITECOIN_TARBALL=litecoin-${LITECOIN_VERSION}-${target_arch_tarball }.tar.gz
50
50
51
51
WORKDIR /opt/litecoin
52
52
@@ -186,8 +186,6 @@ COPY --from=builder /tmp/lightning_install/ /usr/local/
186
186
187
187
COPY tools/docker-entrypoint.sh /entrypoint.sh
188
188
189
- # TODO: user creation. user permissions on volume.
190
-
191
189
ENV LIGHTNINGD_DATA=/root/.lightning
192
190
ENV LIGHTNINGD_RPC_PORT=9835
193
191
ENV LIGHTNINGD_PORT=9735
0 commit comments