libcurl with ares on ubuntu 14.04

I read that post

But it answers how to compile curl. I know that.
I would like to replace libcurl package.

  • RabbitMQ Cluster in Docker Container among different hosts
  • How to run webdriver tests on docker firefox-standalone-debug container instead of regular firefox browser
  • Running docker-maven-plugin on the very end of parent pom building
  • Unable to activate chef-provisioning-docker-0.6 because chef-provisioning-1.1.1 conflicts with chef-provisioning (~> 0.9)
  • No such file or directory in docker build
  • docker - local DNS
  • So when I will install software aptitude will know that libcurl exists.
    When ubuntu will update then it should not overrite libcurl.

    sudo checkinstall
    

    not recommended but advertising by most posts

    sudo make install
    

    e.g.
    http://www.howtogeek.com/105413/how-to-compile-and-install-from-source-on-ubuntu/

    How do I install curl with ares enabled

    I wonder if it worth to use docker if I need libcurl with ares for single app.

  • How can I configure environment variables on a Docker container without hard-coding them in the Dockerfile? [closed]
  • Configuring Postgres for tcp md5 in docker environment
  • Container with app + DB
  • Private docker registry authentication in aws ecs optimized AMI is not successful
  • nginx redirect to docker container
  • no django app created when following the docker-compose tutorial
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.