title: docker file error gzip: stdin: invalid compressed data--crc error
body: <p>I'm learning how to used Docker and gcp using this <a href="https://cloud.google.com/cloud-build/docs/quickstart-docker?hl=en_US&amp;_ga=2.48650918.-1696395913.1540776674" rel="nofollow noreferrer">quickstart</a>, but have an error I can't fix. There are two files in the folder, <code>Dockerfile.txt</code> and <code>quickstart.sh</code>.</p>
  
  <p>The Dockerfile has been created using Notepad++ and saved as a Dockerfile.txt file. When I run the command </p>
  
  <p><code>gcloud builds submit --tag gcr.io/[PROJECT_ID]/quickstart-image .</code></p>
  
  <p>I get an error   </p>
  
  <pre><code>gzip: stdin: invalid compressed data--crc error
  gzip: stdin: invalid compressed data--length error
  tar: Child returned status 1
  tar: Error is not recoverable: exiting now
  ERROR
  ERROR: fetching gcs source: unpacking tarball: exit status 2
  </code></pre>
  
  <p>I think this is caused by the Dockerfile format, should it be a bash file? I've recreated the file several times to make sure its not corrupted.</p>
  
  <p>These are the files in the directory:    </p>
  
  <pre><code>hugh@Hugh_Laptop:/mnt/d/temp$ ls -l
  total 0
  -rwxrwxrwx 1 hugh hugh 55 Nov 21 15:05 Dockerfile.bash
  -rwxrwxrwx 1 hugh hugh 51 Nov 21 13:38 quickstart.sh
  </code></pre>