title: Docker - COPY/ADD files remove the trailing line
body: <p>It is really strange what is happening. I check several time. I have a docker image copying/adding a yml file to the container. This yml file has trailing line. I added three empty line to be sure.</p>
  
  <p>If I go to the container and do a cat those trailing line are not here any more. Which cause the following error:</p>
  
  <pre><code>YAML Error: Stream does not end with newline character
  YAML_PARSE_ERR_NO_FINAL_NEWLINE
  </code></pre>