Skip to content
Snippets Groups Projects
Commit fa77fe1a authored by Julien Leduc's avatar Julien Leduc
Browse files

add castor repo for tpsrv pod and install cta-cli everywhere so that we have...

add castor repo for tpsrv pod and install cta-cli everywhere so that we have at least some RPMs already installed in the docker image: otherwise it takes too much time to install all rpms in parallel on all the pods as it puts the VM on its knees...
parent 81c8b8ff
Branches
Tags
No related merge requests found
......@@ -38,11 +38,12 @@ RUN mkdir -p ${CTAREPODIR} ${LOCALORCHESTRATIONDIR}
# Add previously built rpms
ADD build_rpm/RPM ${CTAREPODIR}
# Populate local repository and enable it
RUN createrepo ${CTAREPODIR}; echo -e "[cta-artifacts]\nname=CTA artifacts\nbaseurl=file://${CTAREPODIR}\ngpgcheck=0\nenabled=0\npriority=2" > /etc/yum.repos.d/cta-artifacts.repo
RUN createrepo ${CTAREPODIR}; echo -e "[cta-artifacts]\nname=CTA artifacts\nbaseurl=file://${CTAREPODIR}\ngpgcheck=0\nenabled=1\npriority=2" > /etc/yum.repos.d/cta-artifacts.repo
# Install needed packages
#RUN yum -y install cta-frontend cta-debuginfo cgdb less psmisc lynx strace ltrace
RUN yum -y install cgdb less psmisc lynx strace ltrace && yum clean all
# add cta-cli to get already some RPMs installed
RUN yum -y install cgdb less psmisc lynx strace ltrace cta-cli && yum clean all
#RUN yum clean all
# Add pod specific configuration
......
[castor]
name=CASTOR Repositories in LINUXSOFT
baseurl=http://linuxsoft.cern.ch/internal/repos/castor7-testing/$basearch/os
enabled=0
gpgcheck=0
priority=1
[ceph]
gpgcheck=0
name=Ceph repository
enabled=0
enabled=1
priority=3
baseurl=http://linuxsoft.cern.ch/mirror/download.ceph.com/rpm-jewel/el7/x86_64/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment