Re: SSH-free PostgreSQL

From: Joseph Ferguson <joe(at)infosiftr(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Tianon Gravi <admwiggin(at)gmail(dot)com>, Postgres-Docker Mailing List <pgsql-pkg-docker(at)postgresql(dot)org>
Subject: Re: SSH-free PostgreSQL
Date: 2014-07-30 20:09:42
Message-ID: CAF3-kPFevPS-b8xYWJE1WFFA84b=LypTKYu020CrFdangmMBOA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-docker

On Wed, Jul 30, 2014 at 1:52 PM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
> This brings up another issue with using the Ubuntu packages. Those
> packages initdb a database directory. Increasingly, I'm thinking that
> we *don't* want the generic initdb'd directory; we want to populate it
> with something more sensible (whether master or replica). Is there a
> more elegant way to do this than scripting an rm -rf?

The Dockerfiles from our new branch install postgresql-common first
and set the create_main_cluster to false, the initidb is then handled
in the entrypoint. The rm -rf is no longer needed.

- Joe Ferguson :: joe(at)infosiftr(dot)com
InfoSiftr :: Vice President of Programming

In response to

Browse pgsql-pkg-docker by date

  From Date Subject
Next Message Harry Percival 2014-08-01 12:30:57 Introduction + noob question -- where can I see the latest effort?
Previous Message Josh Berkus 2014-07-30 19:52:20 Re: SSH-free PostgreSQL