Skip to content

andrii-rieznik/docker-python-gdal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

29 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒ python-gdal

BuildPullsSize

Python GDAL/OGR API

These containers ship with pre-installed GDAL's and OGR's Python bindings.

Powered by pyenv which helps to manage Python versions, and builded from official GDAL sources.

Usage

The Dockerfile provides defaults when executing a container:

# prints Python, pip, and GDAL versions

docker run ghcr.io/andrii-rieznik/python-gdal

To run a container and start an interactive bash session as root:

docker run -it ghcr.io/andrii-rieznik/python-gdal /bin/bash

Tags and versioning

To use a specific version of Python or GDAL with the appropriate tag:

docker run ghcr.io/andrii-rieznik/python-gdal:py3.12.6-gdal3.9.2

To pass as build arguments:

make image PYTHON_VERSION=3.12.6 GDAL_VERSION=3.9.2

License

See MIT.