the root:latest docker image is not usable out of the box because libvdt-dev is missing, for example, cmake “find_package(ROOT)” bombs with error " ```
Could NOT find Vdt (missing: VDT_INCLUDE_DIR VDT_LIBRARY)
please add libvdt-dev to the docker image or add this text to the image description on dockerhub: "before using this image please run apt install libvdt-dev" or build root with built-in vdt.
this issue cost me 3 hours to research, implement a solution and document here.
I am using the docker hub image for bitbucket pipeline QA builds.
dockerhub image rootproject/root:latest -> 6.32.04-ubuntu24.04
references:
https://hub.docker.com/r/rootproject/root
https://github.com/root-project/root/issues/16038