bitcoin/Dockerfile
2018-12-27 14:34:51 +01:00

16 lines
700 B
Docker

FROM alpine:latest
#RUN wget https://bitcoin.org/bin/bitcoin-core-0.17.1/bitcoin-0.17.1-x86_64-linux-gnu.tar.gz
RUN wget https://files.nixaid.com/bitcoin-0.17.1-x86_64-linux-gnu.tar.gz
COPY sha512sum.txt /tmp/
RUN sha512sum -c /tmp/sha512sum.txt
FROM ubuntu:bionic
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -y install libx11-xcb1 libx11-6 libxcb1 libfontconfig1 libfreetype6 xkb-data
COPY --from=0 bitcoin-0.17.1-x86_64-linux-gnu.tar.gz .
RUN tar xf bitcoin-0.17.1-x86_64-linux-gnu.tar.gz -C /opt
RUN find /opt/ -type f -name "bitcoin*" -exec ln -sv '{}' /usr/local/bin/ \;
COPY launch /launch
ENTRYPOINT sh /launch
LABEL maintainer="Andrey Arapov <andrey.arapov@nixaid.com>"