# A fedora image + build dependencies of quarkdb.

FROM fedora:38
MAINTAINER Georgios Bitzes, georgios.bitzes@cern.ch, CERN 2023

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