title: How can I create dot configuration files in a docker container from a Dockerfile?
body: <p>New to docker here. 
  My task is simple. I am trying to setup two config files that will end up in a docker container that will get created from a docker file.</p>
  
  <p>In my laptop/machine have local file </p>
  
  <p><em>~/.path/file1</em> ,    with content: </p>
  
  <p><code>VAR1=BAR
   VAR2=FOO</code> </p>
  
  <p>AND </p>
  
  <p><em>~/.file2</em> ,  with content:</p>
  
  <p><code>VAR3=VALUE1
   VAR4=VALUE2</code></p>
  
  <p>in my local macbook pro.</p>
  
  <p>How can I create these files on the fly from a Dockerfile and have them ready in my Docker container that I can store in a container registry for later reuse?</p>
  
  <p>This would help me greatly!</p>
  
  <p>Thank you</p>