#Dockerized ROOT (CERN) compile your root-scripts without building root yourself
Important: for security reasons the interactive gui-features of root will not be supported (but you can of course save graphs to pdf).
Just try
docker run --rm martingabelmann/root --help
Assuming you've a script to compile at /your/work/dir/rootfile.cc:
cd /your/work/dir/
docker run --rm -v $PWD:/tmp/ martingabelmann/root -c rootfile.cc -o binary.out
The -o flag is optional: if not set, the binary is called rootfile.out.
Then run your new binary with
docker run --rm -ti -v $PWD:/tmp/ martingabelmann/root -r binary.out
Join a containers bash with
docker run --rm -ti -v $PWD:/tmp/ martingabelmann/root bash
You can spawn ROOT by typing root (not well tested) but all gui features will not work.
Content type
Image
Digest
sha256:b36036c2a…
Size
365.1 MB
Last updated
over 8 years ago
docker pull martingabelmann/root