Skip to content

Commit

Permalink
add repo file and line to install gcc compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
garciagenrique committed Nov 13, 2023
1 parent 87da891 commit 95315c2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 2 additions & 0 deletions containers/rucio-client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions containers/rucio-noise/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"]
Expand Down
9 changes: 9 additions & 0 deletions containers/rucio-noise/linuxsupport7s-stable.repo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 95315c2

Please sign in to comment.