How to add multiple lines using dockerfile ?
To add multiple lines in a file in docker container using dockerfile, add the following command in dockerfile:
RUN echo 'this is line1\n\ this is line2\n\ this is line3\n'\ >> /path/to/file
If result is not found or irrelevant, Please contact us.
Submit your request