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.

  • How can I run docker-compose up as shell script by Jenkins
  • Issue with Jenkins pipeline script and docker maven image
  • Docker database files: inside or outside the container?
  • Calling redis-cli in docker-compose setup
  • Mount directory to docker container while using CWL (Common Workflow Language)
  • chef-server stuck ruby_block[supervise_rabbitmq_sleep] action run on Docker container
  • 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.

  • Cluster takes a few minutes to service requests when node goes down
  • Enterprise Apps with Docker and Elastic Beanstalk
  • Capturing output of python script run inside a docker container
  • Is there a way to run separate set of processes with docker dynamically?
  • Crontab does not work properly
  • docker pull generate 403 error message on latest version
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.