From b3fde870639494cd97d33b09c0a5d56ace4031b5 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Thu, 21 Jul 2022 14:50:53 +0200 Subject: [PATCH] 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 --- doc/REPRODUCIBLE.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/REPRODUCIBLE.md b/doc/REPRODUCIBLE.md index 1d2daf9b1..b92fb5c63 100644 --- a/doc/REPRODUCIBLE.md +++ b/doc/REPRODUCIBLE.md @@ -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