From 0f8cb8242643c97786d500f0787ff88d885d51cd Mon Sep 17 00:00:00 2001 From: bizi-betiko Date: Mon, 25 May 2020 16:42:04 +0300 Subject: [PATCH] A dockerfile that allows the creation of a docker image of Curecoin, capable of running on a Raspberry Pi. --- Dockerfile.RPi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Dockerfile.RPi diff --git a/Dockerfile.RPi b/Dockerfile.RPi new file mode 100644 index 0000000..0b314db --- /dev/null +++ b/Dockerfile.RPi @@ -0,0 +1,21 @@ +# Build the docker image with "sudo docker build -t curecoinpi - < Dockerfile.RPi" +# Run with "sudo docker run --rm --net=host --env="DISPLAY" -v $HOME/.curecoin:/root/.curecoin curecoinpi" + +FROM ubuntu:18.04 + +MAINTAINER neogen556@yahoo.gr + +RUN apt update +RUN apt install -y git qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libminiupnpc-dev libdb5.3++-dev dh-make build-essential +RUN apt install -y libssl1.0-dev + +RUN git clone https://github.com/cygnusxi/CurecoinSource.git + +WORKDIR CurecoinSource + +RUN sed -e '/msse2/ s/^#*/#/' -i curecoin-qt.pro + +RUN qmake "USE_UPNP=-" +RUN make + +ENTRYPOINT ["./curecoin-qt"]