title: How to add more feature to a official postgres image from docker hub?
body: <p>If use the official postgres image:</p>
  
  <p><a href="https://hub.docker.com/_/postgres/" rel="nofollow noreferrer">https://hub.docker.com/_/postgres/</a></p>
  
  <p>is a simple way to use PostgreSQL database.</p>
  
  <p>But if I need to use some PostgreSQL extention such as pgroonga:</p>
  
  <p><a href="https://pgroonga.github.io" rel="nofollow noreferrer">https://pgroonga.github.io</a></p>
  
  <p>How to add this to that official PostgreSQL image?</p>
  
  <p>Run that image as a container, then sign in to it add extention, finally make a new image? Is it possible?</p>
  
  <p>If there exists a official pgroonga image will be good, but there isn't now:</p>
  
  <p><a href="https://hub.docker.com/u/groonga/" rel="nofollow noreferrer">https://hub.docker.com/u/groonga/</a></p>
  
  <p>The last way, make a image for groonga, the links to postgres container when run the full stack.</p>
  
  <p>Which way is good to such a case when using container to deploy mordern web application?</p>