Browse Source

Update installation instructions and Dockerfile

Get rid of the 'asciidoc' dependency, make developers also install 'doc/requirements.txt'
pull/2938/head
darosior 5 years ago
committed by Rusty Russell
parent
commit
8f8e955421
  1. 1
      contrib/Dockerfile.builder
  2. 1
      contrib/Dockerfile.builder.i386
  3. 10
      doc/INSTALL.md

1
contrib/Dockerfile.builder

@ -8,7 +8,6 @@ WORKDIR /build
RUN apt-get -qq update && \
apt-get -qq install --no-install-recommends --allow-unauthenticated -yy \
asciidoc \
autoconf \
automake \
clang \

1
contrib/Dockerfile.builder.i386

@ -8,7 +8,6 @@ WORKDIR /build
RUN apt-get -qq update && \
apt-get -qq install --no-install-recommends --allow-unauthenticated -yy \
asciidoc \
autoconf \
automake \
clang \

10
doc/INSTALL.md

@ -22,7 +22,6 @@ You will need several development libraries:
For actually doing development and running the tests, you will also need:
* pip3: to install python-bitcoinlib
* asciidoc: for formatting the man pages (if you change them)
* valgrind: for extra debugging checks
You will also need a version of bitcoind with segregated witness and `estimatesmartfee` economical node, such as the 0.16 or above.
@ -50,8 +49,8 @@ as well:
For development or running tests, get additional dependencies:
sudo apt-get install -y asciidoc valgrind python3-pip
sudo pip3 install -r tests/requirements.txt
sudo apt-get install -y valgrind python3-pip
sudo pip3 install -r tests/requirements.txt -r doc/requirements.txt
Clone lightning:
@ -83,7 +82,6 @@ $ sudo dnf update -y && \
'C Development Tools and Libraries' \
'Development Tools' && \
sudo dnf install -y \
asciidoc \
clang \
git \
gmp-devel \
@ -136,7 +134,7 @@ OS version: FreeBSD 11.1-RELEASE or above
Get dependencies:
# pkg install -y \
autoconf automake git gmp asciidoc gmake libtool python python3 sqlite3 libsodium py36-mako bash
autoconf automake git gmp gmake libtool python python3 sqlite3 libsodium py36-mako bash
If you don't have Bitcoin installed locally you'll need to install that
as well:
@ -172,7 +170,7 @@ Use nix-shell launch a shell with a full clightning dev environment:
```
$ nix-shell -Q -p gdb sqlite autoconf git clang libtool gmp sqlite autoconf \
autogen automake libsodium 'python3.withPackages (p: [p.bitcoinlib])' \
valgrind asciidoc --run make
valgrind --run make
```
To Build on macOS

Loading…
Cancel
Save