mirror of
https://github.com/cygnusxi/CurecoinSource.git
synced 2025-07-27 23:54:22 +02:00
Merge pull request #63 from daneoshiga/docker
Dockerfile for running curecoind on a raspberry pi
This commit is contained in:
commit
67484593b1
20
Dockerfile.headless.rpi
Normal file
20
Dockerfile.headless.rpi
Normal 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']
|
Loading…
x
Reference in New Issue
Block a user