title: Copy file to docker image in LCOW
body: <p>I want to try out some of the LCOW stuff for docker, so I attempted to build an image based off of redis:4.0.8-alpine. I have a custom sentinel.conf file I need to copy over to the image. When Docker gets to the copy step, I get this error:</p>
  
  <pre><code>invalid COPY: Current WorkingDir / is not platform consistent
  </code></pre>
  
  <p>Here is my dockerfile</p>
  
  <pre><code># Set the base image
  FROM redis:4.0.8-alpine
  WORKDIR /
  
  # Copy over the configuration file
  COPY sentinel.conf /usr/local/etc/redis/sentinel.conf
  COPY redis.conf /usr/local/etc/redis/redis.conf
  
  # Copy over the entrypoint that sets the environment variables
  COPY redis-entrypoint.sh /usr/local/bin/
  
  # Set the entrypoint to the new entrypoint script
  # this script calls the original entrypoint when configuration file is ready
  ENTRYPOINT ["redis-entrypoint.sh"]
  
  # Define the entry point for the image
  CMD [ "redis-server", "/usr/local/etc/redis/redis.conf" ]
  </code></pre>
  
  <p>Any idea how I can make my working dir platform consistent?</p>