Repository for building docker images containing Orfeo ToolBox. Each version has its own branch that you can checkout and build from.
Versions | Status | Image Size |
---|---|---|
7.0.0 | ||
7.1.0 | ||
7.2.0 | ||
7.3.0 | ||
7.4.0 | ||
8.0.0 |
Build an image with a specific version of OTB:
git clone [email protected]:ashnair1/otb-docker.git
cd otb-docker/
git checkout <version>
docker build -f ./Dockerfile --build-arg BASE=osgeo/gdal:ubuntu-small-3.1.3 -t otb:small .
It is recommended to use one of the following images as the base image:
osgeo/gdal:ubuntu-full-3.1.3
osgeo/gdal:ubuntu-small-3.1.3
If unspecfied, ubuntu-small
is used as the base image.
Refer to the documentation here to understand the difference.
Pull an image with a specific version of OTB
docker pull ashnair1/otb:7.4.0-small
docker run --rm --env OTB_MAX_RAM_HINT=2048 -v /path/to/local/data:/data otb/7.4.0:latest otbcli_ReadImageInfo -in /data/img.tif