Skip to content

ashnair1/otb-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orfeo ToolBox Docker Images

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.0.0 Docker Image Size (tag) Docker Image Size (tag)
7.1.0 7.1.0 Docker Image Size (tag) Docker Image Size (tag)
7.2.0 7.2.0 Docker Image Size (tag) Docker Image Size (tag)
7.3.0 7.3.0 Docker Image Size (tag) Docker Image Size (tag)
7.4.0 7.4.0 Docker Image Size (tag) Docker Image Size (tag)
8.0.0 8.0.0 Docker Image Size (tag) Docker Image Size (tag)

Build

Build an image with a specific version of OTB:

git clone git@github.com: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 from Dockerhub

Pull an image with a specific version of OTB

docker pull ashnair1/otb:7.4.0-small

Run

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