-
Notifications
You must be signed in to change notification settings - Fork 482
Dockerfile.master.template SFCGAL / PROJ refactoring. #337
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
Conversation
- using cgal 5.5.x-branch with header only build
status:
|
Dear @swiss-knight, If you have the time, I would appreciate your comments on my proposal to solve the SFCGAL problem you raised. If you have the time to test it, that would be even more helpful and it would also help to get the PR accepted sooner. Since you have also made a proposal for a solution ( #336 ), feel free to let me know if you think it is better, I am open to other solutions. |
status:
from a log ( https://github.com/postgis/docker-postgis/actions/runs/4144520723/jobs/7167671112 )
|
|
@phillipross : If you have any special requests or want certain things done differently or in a different PR, let me know and I'll change the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this all looks ok.
I think it's also safe to say that maintaining these master builds is often involving a great deal of non-trivial work. Thanks for the continued effort!
UPDATED 2023-Feb-11:
PROPOSED CHANGES for the
Dockerfile.master.template
SFCGAL building with cgal 5.5.x-branch + header only build
"By utilizing the latest commit of the CGAL 5.5.x-branch and implementing a header-only build for SFCGAL,
one can benefit from the latest CGAL patches while avoiding compatibility issues."
related: Installing postgis_sfcgal extension version >= 1.4, ideally based on the latest stable CGAL release (5.5.1) #335
better GDAL building ( added more type )
better logging / test / etc ( internal, undocumented )
/_pgis_full_version.txt
PostGIS_Full_Version() contains the raster, sfcgal and topology versions.refresh PROJ data - workarounds: https://trac.osgeo.org/postgis/ticket/5316 ( +1MB docker image size )
MINOR changes
added a warning for all templates : " NOTE: THIS DOCKERFILE IS GENERATED VIA "make update"! PLEASE DO NOT EDIT IT DIRECTLY"
added (master) :
LABEL org.opencontainers.image.source="https://github.com/postgis/docker-postgis"
github checkout upgraded to "actions/checkout@v3" ( avoid warnings )
etc ...
SIZE increase:
postgis/postgis:15-master
image size increase from 555MB -> 567MBHOW to test :
VARIANT=default VERSION=15-master make build
)/_pgis_cgal_last_commit.txt
/_pgis_full_version.txt
PostGIS_Full_Version()