mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 00:41:31 +00:00
When building in docker on macOS, python builds with .exe extension because the case insensitive file system of macOS leaks into docker. This causes the build to result in a different output on macOS compared to Linux. We simply patch sysconfigdata to remove the extension. Some more info: https://bugs.python.org/issue27631 |
||
---|---|---|
.. | ||
patches | ||
apprun.sh | ||
build.sh | ||
Dockerfile | ||
README.md |
AppImage binary for Electrum
This assumes an Ubuntu host, but it should not be too hard to adapt to another similar system. The docker commands should be executed in the project's root folder.
-
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
-
Build image
$ sudo docker build --no-cache -t electrum-appimage-builder-img contrib/build-linux/appimage
-
Build binary
$ sudo docker run -it \ --name electrum-appimage-builder-cont \ -v $PWD:/opt/electrum \ --rm \ --workdir /opt/electrum/contrib/build-linux/appimage \ electrum-appimage-builder-img \ ./build.sh
-
The generated binary is in
./dist
.
FAQ
How can I see what is included in the AppImage?
Execute the binary as follows: ./electrum*.AppImage --appimage-extract