Use sed for patching docker related files
Currently we use patch
for patching certain files for docker. This, however, requires us to update the patch file whenever these files are modified (it happened twice for the config template). It would be easier to use sed
to do a in-place find-and-replace for the stuff. Also, this removes patch
dependency from docker installation.