title: How to make a postgreSQL image postGIS enabled using a Dockerfile ?
body: <p>I have been given a task of makeing a <a href="https://hub.docker.com/_/postgres/" rel="nofollow">postgreSQL</a>, postGIS enabled. So basically has i figured out after reading the Docker documentation, That i have to pull the image of postgreSQL and run it locally and than i have to enable postGIS. </p>
  
  <p>If you actually check the Docker hub, there is already an image of postgreSQL being postGIS enabled, <a href="https://hub.docker.com/r/mdillon/postgis/~/dockerfile/" rel="nofollow">HERE</a>.</p>
  
  <p>My requirement is such that i need to start from scratch and actually make a docker file that will make my postgreSQL image postGIS enabled. So my question is how would i go about doing this, what would the process of making a postgreSQL image postGIS enabled involve ? Where do i start at all(Please note i need to do this using a Dockerfile) ? So basically my question is how do i make a postgreSQL image postGIS enabled using a DockerFile ? </p>