title: Creating a Docker Image for a Github Project
body: <p>I have a <a href="https://github.com/OpenRefine/OpenRefine" rel="nofollow noreferrer">GitHub project</a>, (that I am working with (I didn't create it)), called OpenRefine, which I would like to <em>encapsulate</em> in a Docker image, such that other people can then pull that Docker image from the "Docker Hub" and have OpenRefine installed on their fundamental interactive Docker entity, viz. Image.</p>
  
  <p>I want to then upload it to a repository that I can share with others. </p>
  
  <p>It would be good if it had a name and not a crazy hash value. </p>
  
  <hr>
  
  <p>Is it that I just create a "docker file" a text files with a <code>git clone</code> command?</p>
  
  <p>but then how to upload that to a repository such as the docker hub? I just put that text file there?</p>
  
  <p>Something like </p>
  
  <p>FROM ubuntu</p>
  
  <p>MAINTAINER :/ WTF?!</p>
  
  <p>RUN git clone blah</p>
  
  <p>CMD what here?</p>
  
  <p><a href="https://i.stack.imgur.com/Bl5p8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Bl5p8.png" alt="enter image description here"></a></p>
  
  <hr>
  
  <p>This seems like a very basic issue but the information is not readily accessible in the <a href="https://docs.docker.com/userguide/" rel="nofollow noreferrer">Docker provided tutorials</a>, nor is there a definitive answer on <a href="https://stackoverflow.com/questions/18274088/how-can-i-make-my-own-base-image-for-docker">Stackoverflow</a>, but those are indisputably excellent resources for a very complicated way to make a terminal output "<em>Hello World</em>". </p>