mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
docker: simplify README.md (#4521)
This commit is contained in:
parent
7e0b470ca2
commit
dc6fb04ffe
1 changed files with 5 additions and 6 deletions
|
@ -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
|
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
|
1. Install Docker
|
||||||
|
|
||||||
|
@ -16,9 +17,7 @@ similar system.
|
||||||
2. Build image
|
2. Build image
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd contrib/build-wine/docker
|
$ sudo docker build --no-cache -t electrum-wine-builder-img contrib/build-wine/docker
|
||||||
$ PROJECT_ROOT=$PWD/../../../
|
|
||||||
$ sudo docker build --no-cache -t electrum-wine-builder-img .
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: see [this](https://stackoverflow.com/a/40516974/7499128) if having dns problems
|
Note: see [this](https://stackoverflow.com/a/40516974/7499128) if having dns problems
|
||||||
|
@ -29,13 +28,13 @@ similar system.
|
||||||
$ TARGET=master
|
$ TARGET=master
|
||||||
$ sudo docker run \
|
$ sudo docker run \
|
||||||
--name electrum-wine-builder-cont \
|
--name electrum-wine-builder-cont \
|
||||||
-v ${PROJECT_ROOT}:/opt/electrum \
|
-v .:/opt/electrum \
|
||||||
--rm \
|
--rm \
|
||||||
--workdir /opt/electrum/contrib/build-wine \
|
--workdir /opt/electrum/contrib/build-wine \
|
||||||
electrum-wine-builder-img \
|
electrum-wine-builder-img \
|
||||||
./build.sh $TARGET
|
./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`.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue