add test and move one from rm to rmi

Signed-off-by: Victor Vieux <vieux@docker.com>
Fix builder/parser so it keeps some whitespace on split lines.
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>
Merge pull request #8370 from duglin/ParserIndent

Fix builder/parser so it keeps some whitespace on split lines.
update test

Signed-off-by: Victor Vieux <vieux@docker.com>
Fix #8398 - volumes copying data unexpectedly

Prior to the volumes re-factor, data was not being copied on
volumes-from or host-mounted volumes.
After the re-factor, data was being copied for volumes-from.
This reverts this unintentional change in behavior.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Merge pull request #8369 from vieux/add_test_rm

add test and move one from rm to rmi
Merge pull request #8417 from cpuguy83/8398_fix_automatic_data_copy_for_volumesfrom

volumes copying data unexpectedly
Agg errors from jobs in sentry

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>