Build dockerfile to compress the docker image size, some RUN instructions through & amp; & \ splicing,
But first I need to upload a file to ADD XXX/path, then need to delete the ADD file package, if it is
The ADD XXX/path
RUN the rm - rf XXX
Actually is not deleted, use the
The ADD XXX/path & amp; & RUN the rm - rf XXX if no again,
Ask how to write to achieve this effect?