mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-11 01:27:58 +01:00
doc: Spell out the reprobuild instructions for each distro
We also had to switch around the directories, so now the instructions assume you're in the repo root directory
This commit is contained in:
parent
8467521822
commit
b3fde87063
1 changed files with 6 additions and 2 deletions
|
@ -70,7 +70,7 @@ The following table lists the codenames of distributions that we
|
|||
currently support:
|
||||
|
||||
| Distribution Version | Codename |
|
||||
|----------------------|----------|
|
||||
|:---------------------|:---------|
|
||||
| Ubuntu 18.04 | bionic |
|
||||
| Ubuntu 20.04 | focal |
|
||||
| Ubuntu 22.04 | jammy |
|
||||
|
@ -116,7 +116,9 @@ We can then build the builder image by calling `docker build` and passing it
|
|||
the `Dockerfile`:
|
||||
|
||||
```bash
|
||||
sudo docker build -t cl-repro-bionic - < Dockerfile.bionic
|
||||
sudo docker build -t cl-repro-bionic - < contrib/reprobuild/Dockerfile.bionic
|
||||
sudo docker build -t cl-repro-focal - < contrib/reprobuild/Dockerfile.focal
|
||||
sudo docker build -t cl-repro-jammy - < contrib/reprobuild/Dockerfile.jammy
|
||||
```
|
||||
|
||||
Since we pass the `Dockerfile` through `stdin` the build command will not
|
||||
|
@ -146,6 +148,8 @@ repository (remember to checkout the tag you are trying to build):
|
|||
|
||||
```bash
|
||||
sudo docker run --rm -v $(pwd):/repo -ti cl-repro-bionic
|
||||
sudo docker run --rm -v $(pwd):/repo -ti cl-repro-focal
|
||||
sudo docker run --rm -v $(pwd):/repo -ti cl-repro-jammy
|
||||
```
|
||||
|
||||
The last few lines of output also contain the `sha256sum` hashes of all
|
||||
|
|
Loading…
Add table
Reference in a new issue