This repo will help you compile TDLib source code via Docker
There are several easy steps to build source code:
cd $HOME
git clone https://github.com/unurgunite/tdlib-docker.git
cd tdlib-docker
docker build . --tag=unurgunite/tdlib-docker
docker run --rm -v $HOME/libtdjson:/libtdjson unurgunite/tdlib-docker
Now you can find your compiled version of TDLib in $HOME/libtdjson/libtdjson.so
Contribute to the project development always welcome! You will need to fork this project then create new branch and push changes to the repository. Bug reports and pull requests are welcome on GitHub at https://github.com/unurgunite/tdlib-docker.