tdocker: simplify README.md (#4521) - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit dc6fb04ffe9ddd4243ca5b001edc57ee8305783e DIR parent 7e0b470ca21259b9917ee78589d9542e45c041e4 HTML Author: Filip Gospodinov <f@gospodinov.ch> Date: Mon, 9 Jul 2018 14:50:37 +0200 docker: simplify README.md (#4521) Diffstat: M contrib/build-wine/docker/README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) --- DIR diff --git a/contrib/build-wine/docker/README.md b/contrib/build-wine/docker/README.md t@@ -2,7 +2,8 @@ Deterministic Windows binaries with Docker ========================================== This assumes an Ubuntu host, but it should not be too hard to adapt to another -similar system. +similar system. The docker commands should be executed in the project's root +folder. 1. Install Docker t@@ -16,9 +17,7 @@ similar system. 2. Build image ``` - $ cd contrib/build-wine/docker - $ PROJECT_ROOT=$PWD/../../../ - $ sudo docker build --no-cache -t electrum-wine-builder-img . + $ sudo docker build --no-cache -t electrum-wine-builder-img contrib/build-wine/docker ``` Note: see [this](https://stackoverflow.com/a/40516974/7499128) if having dns problems t@@ -29,13 +28,13 @@ similar system. $ TARGET=master $ sudo docker run \ --name electrum-wine-builder-cont \ - -v ${PROJECT_ROOT}:/opt/electrum \ + -v .:/opt/electrum \ --rm \ --workdir /opt/electrum/contrib/build-wine \ electrum-wine-builder-img \ ./build.sh $TARGET ``` -4. The generated binaries are in `$PROJECT_ROOT/contrib/build-wine/dist`. +4. The generated binaries are in `./contrib/build-wine/dist`.