<div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div><i>"We build images for CI  where we build all the dependencies but</i></div><i>postgis (<a href="https://cloud.docker.com/u/postgis/repository/docker/postgis/postgis-build-env" rel="noreferrer" target="_blank">https://cloud.docker.com/u/postgis/repository/docker/postgis/postgis-build-env</a>)<br>but not for distribution." </i><div><br></div><div>Makes sense to use it for CI, again was mostly just wondering about distribution, would be good to get people's thoughts on setting one up.</div><div><br></div><div><br></div><div><i>"I'm not sure what bash scripts you are refering too, but this looks<br>like a packaging request/issue."</i><br></div><div><i><br></i></div><div>Sorry, I should have been more clear.</div><div>The bash script I'm referring to is <i>shp2pgsql, </i>I left it plural because I wasn't sure if there are any other PostGIS commands that are executable from the terminal.</div><div>This is more a packaging request yes. I'll admit I'm not sure on the dependencies within PostGIS, so it may be that even just for <i>shp2pgsql</i> requires a lot of these dependencies, just wanted to float the idea and if we can foresee a large amount of disk savings then maybe it is worth the effort.</div><div><br></div><div><i>"One note, the packages I build locally<br>including everything (binaries and libraries with full debug symbols,<br>update scripts...) take ~43MB so something looks suspicious in your<br>300MB library."</i> <br></div><div><br></div><div>The 300MB footprint I'm talking about is the fact that if I remove PostGIS from my machine (Fedora 29 with postgreSQL client only) I get 360MB of freed space:</div><div><br></div><div>$ dnf remove postgis</div><div><div>Transaction Summary</div><div>======================</div><div>Remove  33 Packages</div><div><br></div><div>Freed space: 360 M</div><div>Is this ok [y/N]:</div></div><div><br></div><div>Obviously this is mostly from the other libraries, but I was just wondering if there was any way that a smaller client-only version could be created.</div><div><br></div><div>Regards,</div><div>Adam</div><div><br></div><div><br></div><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 10 May 2019 at 11:56, Raúl Marín Rodríguez <<a href="mailto:rmrodriguez@carto.com">rmrodriguez@carto.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
> Have been playing around with Docker a lot recently and was wondering if there was any reason why there is no official PostGIS Docker repository that builds on the PostgreSQL image?<br>
<br>
We build images for CI  where we build all the dependencies but<br>
postgis (<a href="https://cloud.docker.com/u/postgis/repository/docker/postgis/postgis-build-env" rel="noreferrer" target="_blank">https://cloud.docker.com/u/postgis/repository/docker/postgis/postgis-build-env</a>)<br>
but not for distribution.<br>
<br>
> While we're on the subject of Docker and containers, I thought I'd ask if there is any scope for a lightweight PostGIS library that only has the bash scripts in it? A sort of "postgis-client" type of thing, that allows you to interact with remote databases running PostGIS without having to install the entire 300MB library yourself.<br>
<br>
I'm not sure what bash scripts you are refering too, but this looks<br>
like a packaging request/issue. One note, the packages I build locally<br>
including everything (binaries and libraries with full debug symbols,<br>
update scripts...) take ~43MB so something looks suspicious in your<br>
300MB library.<br>
<br>
Regards<br>
-- <br>
Raúl Marín Rodríguez<br>
<a href="http://carto.com" rel="noreferrer" target="_blank">carto.com</a><br>
_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-devel</a></blockquote></div></div></div></div>