docker: hardcode versioned GISBASE path on Alpine#5137
Conversation
Out of curiosity: why is |
|
GDAL-GRASS plugin now works on Alpine too: |
I'm not absolutely sure, but I doubt it ever worked – only there were no tests before. I think at this point grass/docker/alpine/Dockerfile Line 217 in 33f29c1 ... after: grass/docker/alpine/Dockerfile Line 198 in 33f29c1 |
|
There is still a test failure on Alpine, which is unrelated and out-of-scope for this PR, where running: ...fails. log extract(Adding |
|
These series of attempts to fix this should be manually (in merged form) back ported to 8.4 after 8.4.1 is released. |
|
I tried out locally the images yesterday, and was surprised by some errors. Just running with And gives an error that something isn't it path. I researched a bit and it's related to not having an entry point defined. I initially thought it because I had just enabled the containerd image store, but after reverting that (and confirming it worked as before), grass images had the same behavior |
That variable GISBASE probably should not be set. The |
With a symlink in place (from un-versioned GISBASE to versioned), which with this change fixes, it should work without setting GISBASE. I guess the need for setting it from the beginning, was that the setting of symlink didn't work out as expected. |
Partial, manual backport of: OSGeo#5106 1c1d01d OSGeo#5108 6b652b6 OSGeo#5115 d657e54 OSGeo#5137 7bfe274
Partial, manual backport of: OSGeo#5106 1c1d01d OSGeo#5108 6b652b6 OSGeo#5115 d657e54 OSGeo#5137 7bfe274
Partial, manual backport of: OSGeo#5106 1c1d01d OSGeo#5108 6b652b6 OSGeo#5115 d657e54 OSGeo#5137 7bfe274
…ne (#5137)" Only the part adding the renovate update comment for GDAL-GRASS Co-authored-by: nilason <[email protected]>
* CI(deps): Update alpine Docker tag to v3.23 * docker(alpine): Update postgresql client to use postgresql18-client Was using postgresql15-client before, which is unavailable on that newer alpine version * docker(alpine): Fix casing of FROM ... AS (partial backport of 15731bc) Co-authored-by: neteler <[email protected]> * Partial backport of: "docker: hardcode versioned GISBASE path on Alpine (#5137)" Only the part adding the renovate update comment for GDAL-GRASS Co-authored-by: nilason <[email protected]> * docker(alpine): Fix casing of FROM ... AS --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Edouard Choinière <[email protected]> Co-authored-by: neteler <[email protected]> Co-authored-by: nilason <[email protected]>
Partially reverts 61e38c2, but more importantly hardcodes versioned GISBASE path on Alpine.