Skip to content
This repository has been archived by the owner on Oct 21, 2019. It is now read-only.

[WIP] gdal2.4.2-py3.6 #22

Open
wants to merge 6 commits into
base: gdal2.4.2
Choose a base branch
from

Conversation

dazza-codes
Copy link

@dazza-codes dazza-codes commented Aug 7, 2019

  • don't merge this PR, just add a new branch for it
    • cherry-pick stuff to other branches
    • leaving the WIP status indefinitely to block an accidental merge
  • use gdal and python versions in the docker image tag
  • install cython, numpy, gdal, rasterio into the PYTHONPATH
  • make rules to build and package a lambda layer using /opt
    • requires an ARG to define the install PREFIX as /opt
    • use of ARG could be generalized for parameterized builds (not done here)
  • cannot update the master README on this PR

TODO

  • check the package works as a lambda layer
    • check the extraction to /opt is "OK"
    • check the ldd on some .so libs works with LD_LIBRARY_PATH
    • seems to work OK, although it might clobber stuff (?) don't care to fix it at present
  • prune the package of extraneous files
    • optional optimization to keep the package size down

related issues/PRs

Darren Weber added 2 commits August 6, 2019 17:48
- set BUILD as IMAGE:TAG
- use BUILD for most make rules
- numpy >= 1.17 needs a c99 compiler setting
@dazza-codes dazza-codes force-pushed the gdal2.4.2-py3.6 branch 3 times, most recently from 30740a1 to 23a761f Compare August 7, 2019 20:37
@vincentsarago
Copy link
Member

FYI, I'm on holiday right now and trying to stay as far as possible from my laptop. I'll have a look later.

@dazza-codes dazza-codes force-pushed the gdal2.4.2-py3.6 branch 2 times, most recently from d69e827 to 363e1a2 Compare August 11, 2019 19:14
- move the ENV versions to the docker layer that installs the libraries
  - should provide better docker layer caching
- update proj4 to 6.x
- add libgeotiff 1.5.x
- add sqlite3
  - proj4 uses it
  - it is enabled in gdal build
- add a bunch of python GIS packages
  - pyproj
  - pycrs
  - shapely
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants