Skip to content

Commit

Permalink
Fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gruve-p committed Jan 12, 2019
1 parent 4a0aec3 commit 5fce013
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,25 @@ RUN mkdir /opt/groestlcoin && cd /opt/groestlcoin \
&& echo "$GROESTLCOIN_SHA256 groestlcoin.tar.gz" | sha256sum -c - \
&& tar -xzvf groestlcoin.tar.gz groestlcoin-cli --exclude=*-qt \
&& rm groestlcoin.tar.gz

ENV LIGHTNINGD_VERSION=master

WORKDIR /opt/lightningd
COPY . .

ARG DEVELOPER=0
RUN ./configure && make -j3 DEVELOPER=${DEVELOPER} && cp lightningd/lightning* cli/lightning-cli /usr/bin/
RUN git clone https://github.com/Groestlcoin/lightning.git /opt/lightningd \
&& cd /opt/lightningd \
&& git checkout $LIGHTNINGD_VERSION \
&& DEVELOPER=$DEVELOPER ./configure \
&& make -j3 DEVELOPER=${DEVELOPER} \
&& cp lightningd/lightning* cli/lightning-cli /usr/bin/

FROM debian:stretch-slim
FROM debian:stretch-slim

RUN apt-get update && apt-get install -y \
autoconf automake build-essential git libtool libgmp-dev \
libsqlite3-dev python python3 net-tools zlib1g-dev jq bc

ENV LIGHTNINGD_DATA=/root/.lightning
ENV LIGHTNINGD_RPC_PORT=9835

Expand Down

0 comments on commit 5fce013

Please sign in to comment.