2018-12-26 13:48:53 +00:00
|
|
|
FROM alpine:latest
|
|
|
|
RUN wget https://github.com/dogecoin/dogecoin/releases/download/v1.10.0/dogecoin-1.10.0-linux64.tar.gz
|
|
|
|
COPY sha512sum.txt /tmp/
|
|
|
|
RUN sha512sum -c /tmp/sha512sum.txt
|
|
|
|
|
2018-12-26 13:33:06 +00:00
|
|
|
FROM ubuntu:bionic
|
|
|
|
RUN apt-get update && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get -y install libx11-xcb1 libx11-6 libxcb1 libfontconfig1 libfreetype6 xkb-data libdbus-1-3
|
2018-12-26 13:48:53 +00:00
|
|
|
COPY --from=0 dogecoin-1.10.0-linux64.tar.gz .
|
|
|
|
RUN tar xf dogecoin-1.10.0-linux64.tar.gz -C /opt
|
2018-12-26 13:33:06 +00:00
|
|
|
RUN find /opt/ -type f -name "dogecoin*" -exec ln -sv '{}' /usr/local/bin/ \;
|
|
|
|
COPY launch /launch
|
|
|
|
ENTRYPOINT sh /launch
|
|
|
|
LABEL maintainer="Andrey Arapov <andrey.arapov@nixaid.com>"
|