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.

  • Accessing Hue on Cloudera Docker QuickStart
  • How to create docker machine with specific version?
  • How to duplicate container using existing images
  • Utilizing the --user param to create a user with a Dockerfile container
  • Deploy-time commands inside Docker on Elastic Beanstalk
  • Rails delayed job and docker: adding more workers
  • 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 to use rolling update to re-pull container image?
  • Docker - Restrictions regarding naming container
  • Fedora 22: ERROR: No module named '_rpmb' while building docker
  • Connecting postgres from typeorm docker container
  • serverspec command returning blank strings
  • “Error Checking TLS connection: Host is not running” from docker-machine when SSHing into Windows host
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.