* Update README.md in docker/alpine
- Replace contents with the usage of the image auto-built by Docker Cloud
- Add descriptions on the customizable environment variables
* Update Dockerfile maintainer list
Refer to #1914
* Install rng-tools as runtime dependency
* Remove unnecessary 'git submodule update', as Docker Cloud runs 'git submodule update' after cloning the repository
* Replace variable SERVER_PORT with fixed port 8388, as it can't be customized with -e anyway
* Use the repository as context, instead of released .tar.gz
* Remove version information from Dockerfile, and let Docker Cloud handle it
* Add .dockerignore
Next steps:
1. Connect repository in Docker Cloud
2. Setup automated builds:
- A push on `master` branch triggers build for `unstable` tag
- A tag matching /^v[0-9]+(\.[0-9]+){2}$/ triggers build for a same-named tag
Refer to #1914
Add a new option, WITH_EMBEDDED_SRC, which default is ON and same as
current setting.
When set to OFF, it can use system's libcork, libcorkipset, and libbloom.
It can be built in debian by:
$ cmake -DUSE_SYSTEM_SHARED_LIB=1 -DWITH_STATIC=OFF -DWITH_EMBEDDED_SRC=OFF
$ make
It's possible that c-ares calls the callback function immediately in ares_gethostbyname, which may free the server
structure in that callback function.