CurecoinSource/Dockerfile.headless.rpi
2021-02-07 16:18:24 -03:00

21 lines
431 B
Docker

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']