mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
f440c6b224
If previous line ends with whitespace, or next line starts with whitepsace we need to preserve a space otherwise things line: RUN echo\ hello will appear as: RUN echohello Noticed this while looking at #5744 because he had lines ending in &&\ Signed-off-by: Doug Davis <dug@us.ibm.com>
28 lines
273 B
Docker
28 lines
273 B
Docker
FROM ubuntu:14.04
|
|
|
|
RUN echo hello\
|
|
world\
|
|
goodnight \
|
|
moon\
|
|
light\
|
|
ning
|
|
RUN echo hello \
|
|
world
|
|
RUN echo hello \
|
|
world
|
|
RUN echo hello \
|
|
goodbye\
|
|
frog
|
|
RUN echo hello \
|
|
RUN echo hi \
|
|
\
|
|
world \
|
|
\
|
|
good\
|
|
\
|
|
night
|
|
RUN echo goodbye\
|
|
frog
|
|
RUN echo good\
|
|
bye\
|
|
frog
|