Skip to content
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

update/refactor alpine3.18 postgis template #343

Merged
merged 6 commits into from
May 17, 2023

Conversation

ImreSamu
Copy link
Member

@ImreSamu ImreSamu commented May 12, 2023

update/refactor alpine3.18 template

Main changes:

Status:

  • Looks OK ✔️
  • new alpine image size OK ✔️
  • CI ✔️

- remove postgis 2.5 support
- add sfcgal
- upgrade to pcre2
- installing proj data for testing ( workaround )
- update README.md
important:
- temporary jit testing is disabled! waiting for an upstream fix.
@ImreSamu
Copy link
Member Author

QA :

postgis/postgis:15-3.3-alpine build log

Alpine3.18 postgis configurations:

postgis/postgis:15-3.3-alpine config:

 PostGIS is now configured for x86_64-pc-linux-musl
-------------- Compiler Info ------------- 
 C compiler:           gcc -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -flto
 C++ compiler (Wagyu): gcc -std=c++11 -x c++ 
 C++ compiler (FlatGeobuf): gcc -std=c++11 -x c++ 
 CPPFLAGS:              -I/usr/include -I/usr/include/webp  -I/usr/include/libxml2 -I/usr/include -I/usr/include/json-c  -DNDEBUG 
 LDFLAGS:               -lm -flto
 SQL preprocessor:     /usr/bin/cpp -traditional-cpp -w -P
 Archiver:             gcc-ar rs
-------------- Additional Info ------------- 
 Interrupt Tests:   DISABLED use: --with-interrupt-tests to enable
-------------- Dependencies -------------- 
 GEOS config:          /usr/bin/geos-config
 GEOS version:         3.11.2
 GDAL config:          /usr/bin/gdal-config
 GDAL version:         3.6.4
 SFCGAL config:        /usr/bin/sfcgal-config
 SFCGAL version:       1.4.1
 PostgreSQL config:    /usr/local/bin/pg_config
 PostgreSQL version:   PostgreSQL 15.3
 PROJ4 version:        92
 Libxml2 config:       /usr/bin/xml2-config
 Libxml2 version:      2.11.3
 JSON-C support:       yes
 protobuf support:     yes
 protobuf-c version:   1004001
 PCRE support:         Version 2
 Perl:                 /usr/bin/perl
--------------- Extensions --------------- 
 PostGIS Raster:                     enabled
 PostGIS Topology:                   enabled
 SFCGAL support:                     enabled
 Address Standardizer support:       enabled
-------- Documentation Generation -------- 
 xsltproc:             /usr/bin/xsltproc
 xsl style sheets:     
 dblatex:              
 convert:              
 mathml2.dtd:          http://www.w3.org/Math/DTD/mathml2/mathml2.dtd

Postgres, Postgis version:

postgis/postgis:15-3.3-alpine

PostgreSQL 15.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit

POSTGIS="3.3.2 0" [EXTENSION] PGSQL="150" GEOS="3.11.2-CAPI-1.17.2" SFCGAL="SFCGAL 1.4.1, CGAL 5.5.2, 
   BOOST 1.82.0" PROJ="9.2.0" GDAL="GDAL 3.6.4, released 2023/04/17" 
   LIBXML="2.11.3" LIBJSON="0.16" LIBPROTOBUF="1.4.1" WAGYU="0.5.0 (Internal)" TOPOLOGY RASTER2

Size changes

postgis/postgis:15-3.3-alpine 436MB -> 428MB ✔️

# version: 2023-05-13 ( this PR )
# alpine 3.18; PG 15.3; GEOS="3.11.2-CAPI-1.17.2", PROJ="9.2.0", GDAL="GDAL 3.6.4", SFCGAL="SFCGAL 1.4.1, CGAL 5.5.2; PCRE v2
# lto optimized
postgis/postgis   15-3.3-alpine   c0129c9bac1a  428MB  

# version: 2023-05-08 ( last monday )
# alpine 3.17; PG 15.2; GEOS="3.11.1-CAPI-1.17.1" PROJ="9.1.0" GDAL="GDAL 3.5.3", NO-SFCGAL; PCRE v1
postgis/postgis   15-3.3-alpine   e2fa330b9fd0  436MB

@ImreSamu ImreSamu changed the title WIP: update/refactor alpine3.18 update/refactor alpine3.18 postgis template May 13, 2023
@ImreSamu
Copy link
Member Author

Ready for review/merge

@ImreSamu ImreSamu marked this pull request as ready for review May 13, 2023 16:26
Copy link
Contributor

@phillipross phillipross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@phillipross phillipross merged commit 20bbcef into postgis:master May 17, 2023
submarcos pushed a commit to submarcos/docker-postgis that referenced this pull request May 23, 2023
* update/reafctor alpine3.18
- remove postgis 2.5 support
- add sfcgal
- upgrade to pcre2
- installing proj data for testing ( workaround )
- update README.md
important:
- temporary jit testing is disabled! waiting for an upstream fix.

* make update

* alpine: use $DOCKER_PG_LLVM_DEPS new env variable
README: improvements in the text

* make update

* remove alpine postgis --with-pcredir config parameter

* make update
@ImreSamu ImreSamu deleted the update_may_12 branch August 18, 2023 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing postgis_sfcgal in alpine image
2 participants