2018-12-27 12:57:52 +00:00
|
|
|
FROM alpine:latest
|
2018-12-27 13:09:16 +00:00
|
|
|
#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
|
2018-12-27 12:57:52 +00:00
|
|
|
COPY sha512sum.txt /tmp/
|
|
|
|
RUN sha512sum -c /tmp/sha512sum.txt
|
|
|
|
|
|
|
|
FROM ubuntu:bionic
|
|
|
|
RUN apt-get update && \
|
2018-12-27 13:34:51 +00:00
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get -y install libx11-xcb1 libx11-6 libxcb1 libfontconfig1 libfreetype6 xkb-data
|
2018-12-27 12:57:52 +00:00
|
|
|
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>"
|