Skip to content
Snippets Groups Projects
Commit fe216c54 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Cleanup ROOT installation

parent 299b3208
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,16 @@ FROM centos:7.4.1708
RUN yum install -y cmake3
RUN rm -rf epel-release-latest-7.noarch.rpm
RUN export ROOT_VERSION=6.14.06 && source /etc/profile.d/python36.sh && cd /opt && wget https://root.cern.ch/download/root_v$ROOT_VERSION.source.tar.gz && tar xvzf root_v$ROOT_VERSION.source.tar.gz && cd root-$ROOT_VERSION && mkdir obj && cd obj && cmake3 .. && make && echo "cd /opt/root-$ROOT_VERSION && source bin/thisroot.sh &&cd" >> /etc/profile.d/root_env.sh && cd
# RUN echo "source /usr/local/root/bin/thisroot.sh" >> /etc/bashrc
RUN export ROOT_VERSION=6.14.06 && \
source /etc/profile.d/python36.sh && \
cd /tmp && \
wget https://root.cern.ch/download/root_v$ROOT_VERSION.source.tar.gz && \
tar xvzf root_v$ROOT_VERSION.source.tar.gz && \
cd root-$ROOT_VERSION && \
mkdir obj && \
cd obj && cmake3 .. && \
make && \
cd .. && \
mv obj /opt/root-$ROOT_VERSION && \
rm -rf /tmp/root* && \
echo "cd /opt/root-$ROOT_VERSION && source bin/thisroot.sh && cd" >> /etc/profile.d/root_env.sh && cd
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