# syntax=docker/dockerfile:1 FROM ubuntu:jammy as base ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update RUN apt-get upgrade # Required dependencies RUN apt-get install -y build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils RUN apt-get install -y libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev # Qt (required for dogecoin-qt GUI) RUN apt-get install -y libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler RUN apt-get install -y libqrencode-dev RUN apt-get install -y libxkbcommon-x11-0 libxcb-xinerama0 libx11-xcb1 libx11-xcb-dev libqt5x11extras5 # BerkeleyDB (version 5.3) RUN apt-get install -y libdb5.3++-dev libdb5.3++ libdb5.3-dev # ZMQ (provides ZMQ API 4.x) RUN apt-get install -y libzmq3-dev # Miniupnpc # RUN apt-get install -y libminiupnpc-dev # Build tools RUN apt-get install -y git autogen make gawk file # ------------------------------------- FROM base as sources ADD https://github.com/dogecoin/dogecoin.git /tmp/dogecoin FROM sources as conf WORKDIR "/tmp/dogecoin" RUN ./autogen.sh >autogen.log RUN ./configure --with-gui >configure.log FROM conf as make WORKDIR "/tmp/dogecoin" RUN make -j4 && make install RUN useradd -m doge RUN su - -s /usr/bin/bash doge WORKDIR "/home/doge" COPY app/*.sh /app/ CMD ["/app/app.sh"]