Use sed for patching docker related files
Using patch
forces us to update the patch file everytime the config
file, or any other file mentioned in the patch is updated to accomodate
with the offset. Using sed to find-and-replace removes this requirement.
Closes: #1885 (closed)