Skip to content

Instantly share code, notes, and snippets.

@wiso
Created January 24, 2020 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wiso/75318c75e939b64265e59036b9a727e8 to your computer and use it in GitHub Desktop.
Save wiso/75318c75e939b64265e59036b9a727e8 to your computer and use it in GitHub Desktop.
root hsg7 Dockerfile
FROM rootproject/root-ubuntu16-base
RUN localedef -i en_US -f UTF-8 en_US.UTF-8
RUN git clone https://:@gitlab.cern.ch:8443/turra/root.git -b hsg7-v6-08-00 /usr/src/root
RUN cd /tmp \
&& cmake /usr/src/root \
-Dfail-on-missing=ON \
-Dbuiltin_pcre=ON \
-Dexplicitlink=ON \
-Dminuit2=ON \
-Droofit=ON \
-Dtable=ON \
-Dcastor=OFF \
-Doracle=OFF \
-Drfio=OFF \
-Dbuiltin_lzma=ON \
-Dxrootd=ON \
-Dbonjour=OFF \
-Dodbc=OFF \
-Dpgsql=OFF \
-Dsqlite=OFF \
-Dpythia6=OFF \
-Dpythia8=OFF \
-Ddcache=OFF \
-Dchirp=OFF \
-Dhdfs=OFF \
-Dbuiltin_xrootd=ON \
-Dbuiltin_davix=ON\
&& cmake --build . -- -j$(nproc)
RUN cd /tmp \
&& cmake --build . --target install \
&& rm -rf /usr/src/root /tmp/*
ENV PYTHONPATH /usr/local/lib
ENV LD_LIBRARY_PATH /usr/local/lib/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment