-
Notifications
You must be signed in to change notification settings - Fork 482
Missing postgis_sfcgal in alpine image #293
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
Comments
confirmed;
Adding "SFCGAL support" is not so easy (now);
so NOW: the "debian version" is recommended. |
How about now? |
in the curent alpine:3.17 no cgal package yet: |
Is it a requirement it be a package in alpine? CGAL is headers only library now, easy to include. Its soft dependencies gmp and mpfr are available in Alpine. |
(my personal opinion)
In practice, it is not always possible to apply this strategy. The best thing would be to have SFCGAL as a supported package in Alpine in the future:
Yes, I'm currently testing with -master image ( #337 ), If you have any specific suggestions on these, please let me know. |
good news:
|
Using
docker run --rm --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -d postgis/postgis:14-3.2-alpine
ANDdocker run -it --rm --link some-postgres postgres psql postgresql://postgres:mysecretpassword@some-postgres -c "CREATE EXTENSION postgis_sfcgal;" -c "SELECT ST_AsGeoJSON(ST_StraightSkeleton(ST_GeomFromText('POLYGON (( 190 190, 10 190, 10 10, 190 10, 190 20, 160 30, 60 30, 60 130, 190 140, 190 190 ))')))"
I end up with
This works well with the debian version of the same image.
The text was updated successfully, but these errors were encountered: