From 6a01e96c988a17631eded5f263e7c8782fc697a1 Mon Sep 17 00:00:00 2001 From: saubyk <39208279+saubyk@users.noreply.github.com> Date: Wed, 15 Jul 2026 23:22:59 -0700 Subject: [PATCH] Remove the unused bitcoind and lnd build contexts Nothing references these now that the fixture pulls Polar's multi-arch images instead of building locally. They could not produce a working image anyway: the bitcoind Dockerfile is ubuntu:18.04 (EOL 2023) installing from a PPA, and the lnd one builds from golang:1.11-alpine at a 2018 commit. Leaving them would repeat the mistake that made the old setup misleading, where plausible-looking files pointed at something that no longer worked. --- docker/bitcoind/Dockerfile | 10 ---------- docker/bitcoind/bitcoin.conf | 2 -- docker/lnd/Dockerfile | 29 ----------------------------- docker/lnd/lnd.conf | 2 -- 4 files changed, 43 deletions(-) delete mode 100644 docker/bitcoind/Dockerfile delete mode 100644 docker/bitcoind/bitcoin.conf delete mode 100644 docker/lnd/Dockerfile delete mode 100644 docker/lnd/lnd.conf diff --git a/docker/bitcoind/Dockerfile b/docker/bitcoind/Dockerfile deleted file mode 100644 index def696ca..00000000 --- a/docker/bitcoind/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM ubuntu:18.04 - -RUN apt-get -qq update && apt-get install -y software-properties-common - -RUN add-apt-repository -y ppa:bitcoin/bitcoin \ - && add-apt-repository -y universe && apt-get update - -RUN apt-get install -y bitcoind - -ADD ./bitcoin.conf /bitcoin/bitcoin.conf diff --git a/docker/bitcoind/bitcoin.conf b/docker/bitcoind/bitcoin.conf deleted file mode 100644 index 0e320e91..00000000 --- a/docker/bitcoind/bitcoin.conf +++ /dev/null @@ -1,2 +0,0 @@ -daemon=0 -printtoconsole=1 \ No newline at end of file diff --git a/docker/lnd/Dockerfile b/docker/lnd/Dockerfile deleted file mode 100644 index 65297f0d..00000000 --- a/docker/lnd/Dockerfile +++ /dev/null @@ -1,29 +0,0 @@ -FROM golang:1.11-alpine as builder - -WORKDIR /go/src/github.com/lightningnetwork/lnd - -# Force Go to use the cgo based DNS resolver. This is required to ensure DNS -# queries required to connect to linked containers succeed. -ENV GODEBUG netdns=cgo - -RUN apk add --no-cache --update alpine-sdk git make \ - && git clone -n https://github.com/lightningnetwork/lnd . \ - && git checkout d2186cc9da29853091175189268b073f49586cf0 \ - && make \ - && make install - -# Start a new, final image to reduce size. -FROM alpine as final - -# Expose lnd ports (server, rpc). -EXPOSE 9735 10009 - -# Copy the binaries and entrypoint from the builder image. -COPY --from=builder /go/bin/lncli /bin/ -COPY --from=builder /go/bin/lnd /bin/ - -# Add bash. -RUN apk add --no-cache bash - -# Import the config -ADD ./lnd.conf /root/.lnd/lnd.conf \ No newline at end of file diff --git a/docker/lnd/lnd.conf b/docker/lnd/lnd.conf deleted file mode 100644 index a9c97140..00000000 --- a/docker/lnd/lnd.conf +++ /dev/null @@ -1,2 +0,0 @@ -[Application Options] -debuglevel=info \ No newline at end of file