Skip to content

Commit

Permalink
Add Dockerfile for headless rpi
Browse files Browse the repository at this point in the history
  • Loading branch information
daneoshiga committed Feb 7, 2021
1 parent 3ef6a62 commit a01f259
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Dockerfile.headless.rpi
Original file line number Diff line number Diff line change
@@ -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']

0 comments on commit a01f259

Please sign in to comment.