From a01f259ca52e2594dbc62cb0059cb8a9dadb4325 Mon Sep 17 00:00:00 2001 From: Danilo Shiga Date: Tue, 26 Jan 2021 22:53:54 -0300 Subject: [PATCH] Add Dockerfile for headless rpi --- Dockerfile.headless.rpi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Dockerfile.headless.rpi diff --git a/Dockerfile.headless.rpi b/Dockerfile.headless.rpi new file mode 100644 index 0000000..677ccaa --- /dev/null +++ b/Dockerfile.headless.rpi @@ -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']