Merge pull request #63 from daneoshiga/docker

Dockerfile for running curecoind on a raspberry pi
This commit is contained in:
cygnusxi 2022-01-26 15:26:26 -06:00 committed by GitHub
commit 67484593b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
Dockerfile.headless.rpi Normal file
View File

@ -0,0 +1,20 @@
FROM raspbian/stretch as base
WORKDIR app
RUN apt-get update && \
apt-get -qy install libboost-all-dev libqrencode-dev libssl-dev libdb5.3-dev libdb5.3++-dev libminiupnpc-dev dh-make build-essential zlib1g-dev libtool
COPY src /app
RUN STATIC=static make -f makefile.raspberrypi
FROM raspbian/stretch as app
WORKDIR app
COPY --from=base /app/curecoind /app/
VOLUME /root/.curecoin
CMD ['curecoind', '-printtoconsole']