Commit c69c6aa
committed
fix: newline interpretation in docker_base make target
When executing docker-based Makefile targets the target `docker_base`
executes a docker command with an inline Dockerfile piped to its input
containing uninterpreted `\n` chars, causing a failure during parseing.
To create multi-line inlined Dockerfiles the `-e` option must be used with
`echo`, however to prevent incompatibility issues with other shells, like
Ubuntu's dash, using `printf` is the best option.
Closes #5340
Signed-off-by: Bruno Meneguele <bmeneg@heredoc.io>1 parent 9097777 commit c69c6aa
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
0 commit comments