Merge pull request #57 from bizi-betiko/dockerfilePi

A dockerfile that allows the creation of a docker image of Curecoin, …
This commit is contained in:
cygnusxi 2022-01-26 15:22:38 -06:00 committed by GitHub
commit c83796abf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

21
Dockerfile.RPi Normal file
View File

@ -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"]