Skip to content

Enhance official docker image

Vincent Delbar requested to merge vidlb/otb:add-docker-image into add-docker-image

See my comment, but I did more !

Changelog

  • do not set timezone to Paris, keep it Universal, use env DEBIAN_FRONTEND var instead
  • use text file to store system deps package list
  • OTB version is ARG
  • remove .run file after install (compressed image is now 350Mo)
  • avoid use of entrypoint : symlink python lib during build, use ENV
  • add missing lib to make GUI work (mapla, monteverdi also seems to work with the correct docker run command)

To do : add command example to run simple container or GUI container. Also may be use tag latest so we don't need to specify version

docker run -it orfeotoolbox/otb:8.0
docker run -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix/ --device=/dev/dri:/dev/dri orfeotoolbox/otb:8.0 monteverdi
Edited by Vincent Delbar

Merge request reports