# CC7 base image + build dependencies of quarkdb.

FROM gitlab-registry.cern.ch/linuxsupport/cc7-base
MAINTAINER Georgios Bitzes, georgios.bitzes@cern.ch, CERN 2023

RUN yum clean all && yum install -y git sed
COPY eos-depend.repo /etc/yum.repos.d/
RUN sed -i 's/__OS_VERSION__/el-7/g' /etc/yum.repos.d/eos-depend.repo
RUN git clone https://gitlab.cern.ch/eos/quarkdb.git; cd quarkdb; ci/cc7/prepare.sh; cd ..; rm -rf quarkdb
