Skip to content

Commit 863cdeb

Browse files
author
Claudio Raimondi
committed
Remove TODO [skip ci]
1 parent 3619774 commit 863cdeb

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Dockerfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ SHELL ["/bin/bash", "-euo", "pipefail", "-c"]
1010

1111
FROM base-host AS downloader-linux-amd64
1212

13-
ARG TARBALL_ARCH=x86_64-linux-gnu
13+
ARG target_arch_tarball=x86_64-linux-gnu
1414

1515
FROM base-host AS downloader-linux-arm64
1616

17-
ARG TARBALL_ARCH=aarch64-linux-gnu
17+
ARG target_arch_tarball=aarch64-linux-gnu
1818

1919
FROM base-host AS downloader-linux-arm
2020

21-
ARG TARBALL_ARCH=arm-linux-gnueabihf
21+
ARG target_arch_tarball=arm-linux-gnueabihf
2222

2323
FROM downloader-${TARGETOS}-${TARGETARCH} AS downloader
2424

@@ -28,7 +28,7 @@ RUN apt-get update && \
2828

2929
ARG BITCOIN_VERSION=27.1
3030
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
3232

3333
WORKDIR /opt/bitcoin
3434

@@ -46,7 +46,7 @@ RUN tar xzf ${BITCOIN_TARBALL} --strip-components=1
4646
ARG LITECOIN_VERSION=0.16.3
4747
ARG LITECOIN_BASE_URL=https://download.litecoin.org/litecoin-${LITECOIN_VERSION}
4848
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
5050

5151
WORKDIR /opt/litecoin
5252

@@ -186,8 +186,6 @@ COPY --from=builder /tmp/lightning_install/ /usr/local/
186186

187187
COPY tools/docker-entrypoint.sh /entrypoint.sh
188188

189-
#TODO: user creation. user permissions on volume.
190-
191189
ENV LIGHTNINGD_DATA=/root/.lightning
192190
ENV LIGHTNINGD_RPC_PORT=9835
193191
ENV LIGHTNINGD_PORT=9735

0 commit comments

Comments
 (0)