Skip to content
Snippets Groups Projects
Commit 5e812fc9 authored by Kay Graf's avatar Kay Graf
Browse files

Merge branch 'further_update_centos7-image-with-root-6-20-04' into 'master'

harmonised with centos:7

See merge request common/dockerfiles!19
parents 361bb6e8 54ee2226
No related branches found
No related tags found
No related merge requests found
......@@ -3,12 +3,12 @@ FROM docker.km3net.de/base/centos:7
RUN yum install -y centos-release-scl epel-release
RUN yum install -y man sed cygpath grep test && yum clean -y all
RUN yum install -y csh tar vim zsh && yum clean -y all
RUN yum install -y csh tar vim lftp zsh && yum clean -y all
RUN yum install -y compat-gcc-34-g77 flex pakchois boost-devel rpmdevtools cmake3 && yum clean -y all
RUN yum install -y bzip2-devel gzip && yum clean -y all
RUN yum install -y fftw-devel libgpg-error libproxy openssh-server && yum clean -y all
RUN yum install -y gtk2-devel libX11 libX11-common libX11-devel libXext libXext-devel libXft libXft-devel libXpm libXpm-devel && yum clean -y all
RUN yum install -y doxygen texlive texlive-*.noarch && yum clean -y all
RUN yum install -y fftw-devel libgpg-error libproxy openssh-server openssl-devel && yum clean -y all
RUN yum install -y gtk2-devel libX11 libX11-common libX11-devel libXext libXext-devel libXft libXft-devel libXpm libXpm-devel && yum clean -y all
RUN yum install -y ghostscript doxygen texlive texlive-*.noarch && yum clean -y all
RUN yum install -y gsl-devel && yum clean -y all
RUN curl -L http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/clhep-2.2.0.8-x86_64-cc7-gcc48-opt.tgz > clhep.tgz && tar -C /usr/local/ --strip-components=1 -xvzf clhep.tgz
......@@ -52,3 +52,11 @@ RUN source /etc/profile.d/genie.sh && cd / && rm -rf /usr/local/root && \
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
#SSH
RUN echo "/usr/sbin/sshd" >> /etc/bashrc
RUN /usr/bin/ssh-keygen -A
RUN ssh-keygen -t rsa -P "" -f ~/.ssh/id_rsa -q
RUN cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
RUN ssh-keyscan -H -t rsa localhost,$(hostname -i) >> ~/.ssh/known_hosts
RUN chmod 700 ~/.ssh && chmod 600 ~/.ssh/*
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