Set cmake generator, build type and parallel level globally in Dockerfile

This commit is contained in:
Ilya Fedin
2025-05-21 21:31:40 +00:00
committed by John Preston
parent ff8292b863
commit ae45189436
4 changed files with 42 additions and 51 deletions

View File

@@ -32,7 +32,7 @@ Or, to create a debug build, run (also using [your **api_id** and **api_hash**](
docker run --rm -it \
-u $(id -u) \
-v "$PWD:/usr/src/tdesktop" \
-e CONFIG=Debug \
-e CMAKE_CONFIG_TYPE=Debug \
tdesktop:centos_env \
/usr/src/tdesktop/Telegram/build/docker/centos_env/build.sh \
-D TDESKTOP_API_ID=YOUR_API_ID \