Git Product home page Git Product logo

pandoradocker's Introduction

PandoraDocker

This is the repository of the Docker container used for Pandora's Travis CI.

ROOT tarball

The PandoraMonitoring and LArReco builds depend upon a binary of ROOT built against C++17.

In the event that you have to rebuild the docker container, please note that the Dockerfile references a tarball containing a suitable ROOT build. This file cannot be stored in the github repository, but can be found within the /storage/dune/docker folder on Warwick CSC.

This file should be copied to the folder containing Dockerfile in order to rebuild the container.

ROOT source build

The tarball noted above was built within an equivalent docker container without the ROOT tarball using the following commands

cd /
git clone https://github.com/root-project/root.git
cd root
git checkout -b v6-18-04 v6-18-04
mkdir obj
cd obj
cmake -DCMAKE_INSTALL_PREFIX=/pandora/root -DCMAKE_CXX_STANDARD=17 \
   -Dgminimal=ON -Dbuiltin_glew=ON -Dbuiltin_ftgl=ON \
   -Dopengl=ON -Dbuiltin_gl2ps=ON ..
make -j2 install
cd /pandora
tar czf root6-18-04.tar.gz root

To extract the tarball from the docker instance, in a separate terminal run

docker ps

This will tell you the docker process ID for the container in which you created the tarball, which you can then use to extract the tarball via

docker cp <ps_id>:/pandora/root6-18-04.tar.gz .

Rebuilding and uploading the container

The docker container can be built using the following command

docker build -t pandorapfa .

To push the container to Docker

docker login
docker tag pandorapfa pandorapfa/pandorapfa_c17
docker push pandorapfa/pandorapfa_c17

pandoradocker's People

Contributors

andychappell avatar johnmarshall80 avatar pandorapfa avatar reflow avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pandoradocker's Issues

cov-configure for LArReco

For LArReco (and presumably LCReco), configuration requires: cov-configure -co /usr/bin/g++-7 -- -std=c++17, as opposed to cov-configure -co /usr/bin/g++-7 -- -std=c++17 -fPIC for the libraries. So need to add a way for prepend_coverity_path.sh to handle this different requirement.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.