title: os.Lstat is failing in a mounted volume on an ubuntu-based Docker container
body: <p>I have a docker container that uses <code>go-bindata</code> to compile a config. I run the docker container with</p>
  
  <pre><code>docker run -id \
      -v conf:/conf \
      -e CONF="/conf" \
      my-container
  </code></pre>
  
  <p>Then in the docker container, I install go-bindata, and run</p>
  
  <pre><code>RUN go-bindata -prefix $CONF -o $GOPATH/src/github.com/my/repo/dir/conf_generated.go $CW_CONF/config
  </code></pre>
  
  <p>And the output is </p>
  
  <pre><code>bindata: Failed to stat input path '/conf/config': lstat /conf/config: no such file or directory
  </code></pre>
  
  <p><a href="https://github.com/jteeuwen/go-bindata/blob/master/config.go#L165" rel="nofollow noreferrer">This</a> is the line that is causing the error. It is odd because when I enter the container and run the same command, it works. <code>stat /conf/config</code> also works (it knows the file is there). What is going on here? Why doesn't the install line work when the container is building?</p>