RUN echo $'All of your\n\
multiline that you ever wanted\n\
into a dockerfile\n'\
>> /etc/example.conf



source - https://github.com/docker/docker/issues/1799

Posted by linuxism
,