Skip to content

Instantly share code, notes, and snippets.

@wiso
Created January 24, 2020 10:06
Show Gist options
  • Select an option

  • Save wiso/75318c75e939b64265e59036b9a727e8 to your computer and use it in GitHub Desktop.

Select an option

Save wiso/75318c75e939b64265e59036b9a727e8 to your computer and use it in GitHub Desktop.

Revisions

  1. wiso created this gist Jan 24, 2020.
    36 changes: 36 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@
    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/