15 lines
634 B
Docker
15 lines
634 B
Docker
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
|
|
|
|
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
|
|
COPY --from=0 dogecoin-1.10.0-linux64.tar.gz .
|
|
RUN tar xf dogecoin-1.10.0-linux64.tar.gz -C /opt
|
|
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>"
|