From 54ee2226245a7896470cf8f52088baaa2f21c1b0 Mon Sep 17 00:00:00 2001 From: Kay Graf <kay.graf@fau.de> Date: Fri, 15 May 2020 07:40:38 +0200 Subject: [PATCH] harmonised with centos:7 --- base/centos-full-root6.20.04:7 | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/base/centos-full-root6.20.04:7 b/base/centos-full-root6.20.04:7 index 35cbef6..91f954b 100644 --- a/base/centos-full-root6.20.04:7 +++ b/base/centos-full-root6.20.04:7 @@ -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/* -- GitLab