Skip to content
Snippets Groups Projects
Commit 11949e1f authored by Johannes Schumann's avatar Johannes Schumann
Browse files

Make Docker ROOT image base

parent 6d584cc9
No related branches found
No related tags found
1 merge request!12Restructure
FROM debian:stretch
FROM rootproject/root:6.24.02-ubuntu20.04
RUN apt-get update -qq && \
apt-get upgrade -qq -y
......@@ -11,17 +11,6 @@ RUN cd /opt && \
ENV PATH="/opt/cmake-3.18/bin:$PATH"
RUN cd /opt && \
wget https://root.cern.ch/download/root_v6.20.04.source.tar.gz && \
tar xvzf root_v6.20.04.source.tar.gz
RUN cd /opt/root-6.20.04 && \
mkdir -p obj && \
cd obj && \
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -Dpyroot=OFF -Dpyroot_experimental=OFF -Dx11=OFF -Dxft=OFF .. && \
make -j4; make install && \
rm -rf /opt/root-6.20.04*
RUN cd /opt && \
wget http://www.hepforge.org/archive/roottuple/RootTuple-1.0.0.tar.gz && \
tar -xzvf RootTuple-1.0.0.tar.gz && \
......@@ -51,10 +40,6 @@ RUN cd /km3buu && \
pip3 install pytest-runner && \
pip3 install -e .
ENV ROOTSYS /usr/local
ENV PATH="${ROOTSYS}/bin:${PATH}"
ENV LD_LIBRARY_PATH="${ROOTSYS}/lib:${LD_LIBRARY_PATH}"
RUN cd /km3buu/externals/km3net-dataformat/ && \
make
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment