diff --git a/containers/rucio-client/Dockerfile b/containers/rucio-client/Dockerfile index 8811b59..956046b 100644 --- a/containers/rucio-client/Dockerfile +++ b/containers/rucio-client/Dockerfile @@ -36,6 +36,8 @@ ADD --chown=user:user rucio.cfg.escape.j2 /opt/user/rucio.cfg.j2 # install reana-client ENV LC_ALL=en_US.UTF-8 RUN pip install --upgrade pip +# Reana needs a gcc compiler +RUN yum install -y gcc RUN pip install reana-client USER user diff --git a/containers/rucio-noise/Dockerfile b/containers/rucio-noise/Dockerfile index 448bc8e..97c8598 100644 --- a/containers/rucio-noise/Dockerfile +++ b/containers/rucio-noise/Dockerfile @@ -30,7 +30,7 @@ RUN ls -lrt # Install CERN CA certs from CERN maintained mirrors # This will add a `CERN-bundle.pem` file (among others) into `/etc/pki/tls/certs/` -COPY linuxsupport7s-stable.repo /etc/yum.repos.d/ +COPY ./linuxsupport7s-stable.repo /etc/yum.repos.d/ RUN yum install -y CERN-CA-certs # ESCAPE VOMS setup @@ -45,8 +45,8 @@ RUN chmod +x /usr/bin/kubectl WORKDIR /home -COPY produce_noise.sh requirements.txt rses.txt /home/ -RUN chmod +x produce_noise.sh +COPY ./produce_noise.sh requirements.txt rses.txt /home/ +RUN chmod +x ./produce_noise.sh RUN pip install -r /home/requirements.txt ENTRYPOINT ["/bin/bash"] diff --git a/containers/rucio-noise/linuxsupport7s-stable.repo b/containers/rucio-noise/linuxsupport7s-stable.repo new file mode 100644 index 0000000..9ac9a2b --- /dev/null +++ b/containers/rucio-noise/linuxsupport7s-stable.repo @@ -0,0 +1,9 @@ +# Example modified for cc7 taken from https://gitlab.cern.ch/linuxsupport/rpmci/-/blob/master/kojicli/linuxsupport8s-stable.repo +[linuxsupport7s-stable] +name=linuxsupport [stable] +baseurl=https://linuxsoft.cern.ch/cern/centos/7/cern/$basearch +enabled=1 +gpgcheck=False +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-koji file:///etc/pki/rpm-gpg/RPM-GPG-KEY-kojiv2 +priority=1 +protect=1