Files
purple-electrumwallet/contrib/build-linux/sdist/README.md
T

30 lines
805 B
Markdown
Raw Normal View History

2020-06-11 03:50:32 +02:00
Source tarballs
===============
✓ _This file should be reproducible, meaning you should be able to generate
distributables that match the official releases._
2020-06-11 03:50:32 +02:00
This assumes an Ubuntu (x86_64) host, but it should not be too hard to adapt to another
similar system.
2020-06-11 03:50:32 +02:00
1. Install Docker
```
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
$ sudo apt-get update
$ sudo apt-get install -y docker-ce
```
2. Build source tarball
2020-06-11 03:50:32 +02:00
```
$ ./build.sh
2020-06-11 03:50:32 +02:00
```
If you want reproducibility, try instead e.g.:
2020-06-11 03:50:32 +02:00
```
$ ELECBUILD_COMMIT=HEAD ELECBUILD_NOCACHE=1 ./build.sh
2020-06-11 03:50:32 +02:00
```
3. The generated distributables are in `./dist`.