pg.ddx.io  pgsql-pkg-docker@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Packages instead of Source
3+ messages / 2 participants
[nested] [flat]

* Packages instead of Source
@ 2014-07-14 18:54 Tianon Gravi <admwiggin@gmail.com>
  2014-07-14 18:59 ` Re: Packages instead of Source Josh Berkus <josh@agliodbs.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Tianon Gravi @ 2014-07-14 18:54 UTC (permalink / raw)
  To: pgsql-pkg-docker

After discussing with Josh[1][2], we came up with an adjusted
Dockerfile[3] so that it pulls from the official packages instead of
building from source.

Functionally, it's still the same as the current image, so any current
image users would be completely unaffected by this change unless
they're taking advantage of the source being available to build
extensions.

I believe extensions are available as packages via this method, right?
 Regardless, this should still provide the headers and stuff so they
should be able to clone the source separately and build the
extensions?

♥,
- Tianon

[1]: https://github.com/docker-library/postgres/pull/1#issuecomment-46711633
[2]: https://gist.github.com/yosifkit/92948d82feb4660699de#comment-1250095
[3]: https://github.com/infosiftr/postgres/blob/docker/Dockerfile


-- 
Sent via pgsql-pkg-docker mailing list (pgsql-pkg-docker@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-docker



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Packages instead of Source
  2014-07-14 18:54 Packages instead of Source Tianon Gravi <admwiggin@gmail.com>
@ 2014-07-14 18:59 ` Josh Berkus <josh@agliodbs.com>
  2014-07-14 19:04   ` Re: Packages instead of Source Tianon Gravi <admwiggin@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Josh Berkus @ 2014-07-14 18:59 UTC (permalink / raw)
  To: pgsql-pkg-docker

On 07/14/2014 11:54 AM, Tianon Gravi wrote:
> After discussing with Josh[1][2], we came up with an adjusted
> Dockerfile[3] so that it pulls from the official packages instead of
> building from source.

Doesn't this mean that we need to create a new github repo so that we're
not dragging along all 300MB of PostgreSQL source history?

> Functionally, it's still the same as the current image, so any current
> image users would be completely unaffected by this change unless
> they're taking advantage of the source being available to build
> extensions.
> 
> I believe extensions are available as packages via this method, right?
>  Regardless, this should still provide the headers and stuff so they
> should be able to clone the source separately and build the
> extensions?

Yes it should, let me look over the dependancies.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


-- 
Sent via pgsql-pkg-docker mailing list (pgsql-pkg-docker@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-docker



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Packages instead of Source
  2014-07-14 18:54 Packages instead of Source Tianon Gravi <admwiggin@gmail.com>
  2014-07-14 18:59 ` Re: Packages instead of Source Josh Berkus <josh@agliodbs.com>
@ 2014-07-14 19:04   ` Tianon Gravi <admwiggin@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Tianon Gravi @ 2014-07-14 19:04 UTC (permalink / raw)
  To: Josh Berkus <josh@agliodbs.com>; +Cc: pgsql-pkg-docker

On 14 July 2014 12:59, Josh Berkus <josh@agliodbs.com> wrote:
> Doesn't this mean that we need to create a new github repo so that we're
> not dragging along all 300MB of PostgreSQL source history?

This is a really easy problem to solve - we just either delete that
old branch or we force push it.  Neither the Hub or Stackbrew care. :)
 (See my docker-brew-ubuntu repo[1] for an example of where this gets
even more fun - large tarballs in Git that will make your hair curl.)

♥,
- Tianon

[1]: https://github.com/tianon/docker-brew-ubuntu


-- 
Sent via pgsql-pkg-docker mailing list (pgsql-pkg-docker@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-docker



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2014-07-14 19:04 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-07-14 18:54 Packages instead of Source Tianon Gravi <admwiggin@gmail.com>
2014-07-14 18:59 ` Josh Berkus <josh@agliodbs.com>
2014-07-14 19:04   ` Tianon Gravi <admwiggin@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox