Last active
April 11, 2024 22:29
-
-
Save Igor-Misic/bee34fe5c99e944cde985b6a6eb16377 to your computer and use it in GitHub Desktop.
Building Gridcoin wallet AppImage with docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Download the docker image recipe and create a docker image from it | |
wget https://raw.githubusercontent.com/Igor-Misic/Gridcoin-Research/master/Dockerfile | |
sudo docker build -t gridcoinresearch -f Dockerfile . | |
### First time deploy docker image and enter in docker container | |
sudo docker container run --name gridcoinresearch -it gridcoinresearch | |
### (optional for the next time) Start and enter docker container | |
sudo docker start gridcoinresearch | |
sudo docker exec -it gridcoinresearch bash | |
### Inside the docker, build and install striped release Gridcoin | |
git clone --branch master https://github.com/gridcoin-community/Gridcoin-Research.git | |
cd Gridcoin-Research | |
./autogen.sh | |
mkdir build | |
cd build | |
../configure -with-gui=qt5 | |
make -j 16 | |
mkdir /appdir | |
make install DESTDIR=/appdir | |
cd ../../ | |
strip /appdir/usr/local/bin/gridcoinresearch | |
strip /appdir/usr/local/bin/gridcoinresearchd | |
rm /appdir/usr/local/bin/test_gridcoin | |
rm /appdir/usr/local/bin/test_gridcoin-qt | |
#### create AppImage | |
linuxdeployqt /appdir/usr/local/share/applications/gridcoinresearch.desktop -no-strip -appimage | |
exit | |
### Copy Gridcoin.AppImage from docker container | |
sudo docker cp gridcoinresearch:/Gridcoin-x86_64.AppImage Gridcoin-x86_64.AppImage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment