Created
May 11, 2017 13:22
-
-
Save arpat/0267c1913394f6c5a963021168a6b20e to your computer and use it in GitHub Desktop.
Embed multi-line text inside Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dockerfile snippet | |
RUN ( echo \ | |
"This is a multiline\n\ | |
file to be placed\n\ | |
somewhere but needs\n\ | |
to be visible inside\n\ | |
the Dockerfile" \ | |
> /tmp/this ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment