|
@ -14,6 +14,10 @@ RUN set -ex \ |
|
|
|
|
|
|
|
|
WORKDIR /opt |
|
|
WORKDIR /opt |
|
|
|
|
|
|
|
|
|
|
|
RUN wget -qO /opt/tini "https://github.com/krallin/tini/releases/download/v0.18.0/tini-armhf" \ |
|
|
|
|
|
&& echo "01b54b934d5f5deb32aa4eb4b0f71d0e76324f4f0237cc262d59376bf2bdc269 /opt/tini" | sha256sum -c - \ |
|
|
|
|
|
&& chmod +x /opt/tini |
|
|
|
|
|
|
|
|
ARG BITCOIN_VERSION=0.17.0 |
|
|
ARG BITCOIN_VERSION=0.17.0 |
|
|
ENV BITCOIN_TARBALL bitcoin-$BITCOIN_VERSION-arm-linux-gnueabihf.tar.gz |
|
|
ENV BITCOIN_TARBALL bitcoin-$BITCOIN_VERSION-arm-linux-gnueabihf.tar.gz |
|
|
ENV BITCOIN_URL https://bitcoincore.org/bin/bitcoin-core-$BITCOIN_VERSION/$BITCOIN_TARBALL |
|
|
ENV BITCOIN_URL https://bitcoincore.org/bin/bitcoin-core-$BITCOIN_VERSION/$BITCOIN_TARBALL |
|
@ -91,6 +95,7 @@ RUN ./configure --prefix=/tmp/lightning_install --enable-static && make -j3 DEVE |
|
|
|
|
|
|
|
|
FROM arm32v7/debian:stretch-slim as final |
|
|
FROM arm32v7/debian:stretch-slim as final |
|
|
COPY --from=downloader /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static |
|
|
COPY --from=downloader /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static |
|
|
|
|
|
COPY --from=downloader /opt/tini /usr/bin/tini |
|
|
RUN apt-get update && apt-get install -y --no-install-recommends socat inotify-tools \ |
|
|
RUN apt-get update && apt-get install -y --no-install-recommends socat inotify-tools \ |
|
|
&& rm -rf /var/lib/apt/lists/* |
|
|
&& rm -rf /var/lib/apt/lists/* |
|
|
|
|
|
|
|
@ -106,4 +111,4 @@ COPY --from=downloader /opt/litecoin/bin /usr/bin |
|
|
COPY tools/docker-entrypoint.sh entrypoint.sh |
|
|
COPY tools/docker-entrypoint.sh entrypoint.sh |
|
|
|
|
|
|
|
|
EXPOSE 9735 9835 |
|
|
EXPOSE 9735 9835 |
|
|
ENTRYPOINT [ "./entrypoint.sh" ] |
|
|
ENTRYPOINT [ "/usr/bin/tini", "-g", "--", "./entrypoint.sh" ] |
|
|