-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump 9.6-3.1 to GEOS 3.9.1 #233
Comments
I think it would be great to upgrade all 3.1 tags to the latest official release of geo libraries, not just 12-master and 13-master, while keeping postgres & postgis to the designated versions. Older Postgis versions might not be not as important for the upgrade. An alternative would be to create another set of all tags, e.g. |
my personal opinion - for brainstorming
IMHO: this is mostly an upstream ( Debian packaging) issue.
see the related e-mail thread IMHO: no easy way to "Bump 9.6-3.1 to GEOS 3.9.1"
my personal opinion/suggestions: 1.) adding more "build time" customizations to the "master Dockerfile" (base image, versions)
so in theory you need to run this script: # ... draft example - for your use cases ...
rm -rf docker-postgis
git clone --quiet --depth 1 https://github.com/postgis/docker-postgis.git
cd docker-postgis/13-master
# customized local build
docker build --pull \
\
--build-arg BASE_PG_IMAGE=postgres:9.6 \
\
--build-arg SFCGAL_VERSION=v1.3.9 \
--build-arg SFCGAL_GIT_HASH=823db7a318b8841f8296e80036ef993ddf19ebf5 \
--build-arg PROJ_VERSION=8.0.0 \
--build-arg PROJ_GIT_HASH=12e7a4395784d2dfb45cc0b719d37cd7e534fe91 \
--build-arg GEOS_VERSION=3.9.1 \
--build-arg GEOS_GIT_HASH=1b2f4bd3e19001c37846687c765595aa8c28b90f \
--build-arg GDAL_VERSION=v3.2.2 \
--build-arg GDAL_GIT_HASH=a33784291d19015217ea2604988e53d448e14a07 \
--build-arg POSTGIS_VERSION=3.1.1 \
--build-arg POSTGIS_GIT_HASH=aaf4c79a4906f11727fe6b9bccb12051a52acfe3 \
\
-t postgis:pg9.6-pgis3.1.1-geos3.9.1-proj8.0.0-gdal3.2.2 .
# final step:
# --> Push a new image to your registry ( https://hub.docker.com/u/openmaptiles ) IMHO: I am deeply conservative - what we add to the postgis docker-hub
IMHO: Later: if the
2.) adding Debian:bullseye based PostGIS images as early as we can
|
related: the method: upgrade GEOS - without re-building PostGIS
see this e-mail question: |
Thanks @ImreSamu for the in-depth reply! I wonder if we can utilize something like INCLUDE+ dockerfile command (extension). This works with the recent dockers - I tried it with 20.10, Linux containers only. To build, one must use Essentially, the idea would be to make current templates files into "common" dockerfiles that can be included from specific versions, but also to make those templates usable directly by downstream projects. I don't know if all such features would be supported, needs some testing. |
See also a relevant question at edrevo/dockerfile-plus#6 |
Please: give more info; What is the problem you want to solve?
As I understand - you want to split the |
@ImreSamu above you gave a draft example of custom build with many build args. I wonder if it would make sense to do it purely in dockerfile rather than with extra bash/makefile commands. It might be more trouble than its worth though, just an idea. |
I just want to add a few ARG to the
IMHO: Changing the basic Dockerfile syntax .. adds extra complexity; and need a Discussions |
the good news: Debian Bullseye expected in the next months ( May/June/... ) "Finding a tentative bullseye release date" : https://lists.debian.org/debian-release/2021/04/msg00187.html |
Status: 13-3.1-bullseye version :select postgis_full_version();
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| postgis_full_version |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| POSTGIS="3.1.1 aaf4c79" [EXTENSION] PGSQL="130" GEOS="3.9.0-CAPI-1.16.2" PROJ="7.2.1" LIBXML="2.9.10" LIBJSON="0.15" LIBPROTOBUF="1.3.3" WAGYU="0.5.0 (Internal)" TOPOLOGY |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
(1 row) |
|
Great! Thank you for pushing the next steps! |
The #257 has been merged; so now
postgis/postgis:14rc1-3.1
postgis/postgis:13-3.1
|
@ImreSamu hi, any updates on this? I think the most stable way for OpenMapTiles would be to use your #247 with custom ARG params. This way this repo will maintain HOW to build a docker image with all dependencies, and OMT repo will specify WHAT exact versions of each component to use. This way we can have PG14+GEOS3.9.1+... as the latest PG image. One other thought - is there a way to factor out Postgis+deps building into a separate script that Dockerfile calls during the build phase? For the heavy-duty production systems we currently install PG directly on GCP VM, and install the needed code using a startup script. It would be great if PG installation script could be centrally maintained, and users would just use it for their setup? Thanks for all your hard work in this repo! |
Still working on this.
If It is urgent :
And later you can upgrade to the new API.
I don't have a quick answer. IMHO:
|
Since this issue is quite old and Postgis 9.6 is no longer supported, I am closing this issue. |
Hi all,
I would like to ask if there is a plan to update GEOS to 3.9.1 (https://github.com/libgeos/geos/releases)?
As I thought wrongly, update HASH for master still leads to GEOS 3.7.1 (c580901) and not upgrade the GEOS version to 3.9.1.
I am trying to resolve a GEOS bump in OpenMapTiles.
Thanks for comment
The text was updated successfully, but these errors were encountered: