Go to file
blank X e7995a4024
Fix debug build commands
2022-03-12 15:45:08 +07:00
Dockerfile Initial commit 2022-03-02 19:57:36 +07:00
README.md Fix debug build commands 2022-03-12 15:45:08 +07:00
make-appimage Initial commit 2022-03-02 19:57:36 +07:00

README.md

kotatoimg

A docker image made by copying the Linux workflow that helps in building Kotatogram Desktop, tested on an arm64/aarch64 system. Also read Kotatogram's linux build instructions

Creating the Image

Clone and go to kotatoimg, then run

docker build -t kotatoimg .

Building Kotatogram Desktop

Go to the root of kotatogram-desktop's repository and run

docker run --rm -v $(pwd):/ktg kotatoimg \
    bash Telegram/build/docker/centos_env/build.sh \
    -DDESKTOP_APP_USE_PACKAGED_LAZY=ON \
    -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON

If you want a debug build, run

docker run --rm -e DEBUG=1 -v $(pwd):/ktg kotatoimg \
    bash Telegram/build/docker/centos_env/build.sh \
    -DDESKTOP_APP_USE_PACKAGED_LAZY=ON \
    -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON

Creating an AppImage

Since Telegram likes to compile everything, we'll need to create an appimage. While in kotatogram-desktop, run

docker run --rm -v $(pwd):/ktg kotatoimg build-appimage

Likewise, if you want a debug build then run

docker run --rm -e DEBUG=1 -v $(pwd):/ktg kotatoimg build-appimage