This repository has been archived by the owner on Oct 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move to OSG 3.5 and removal of manual python36
- Loading branch information
1 parent
65a70c2
commit ff23f46
Showing
5 changed files
with
5 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM rucio/rucio-clients:release-1.23.7.post1 | ||
FROM rucio/rucio-clients:latest | ||
|
||
LABEL maintainer Ilija Vukotic <[email protected]> | ||
|
||
|
@@ -10,42 +10,27 @@ USER root | |
RUN mkdir -p /etc/grid-security/certificates /etc/grid-security/vomsdir | ||
|
||
RUN yum -y update | ||
RUN yum localinstall https://repo.opensciencegrid.org/osg/3.4/osg-3.4-el7-release-latest.rpm -y | ||
|
||
RUN yum install -y https://repo.opensciencegrid.org/osg/3.5/osg-3.5-el7-release-latest.rpm | ||
|
||
RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm; \ | ||
curl -s -o /etc/pki/rpm-gpg/RPM-GPG-KEY-wlcg http://linuxsoft.cern.ch/wlcg/RPM-GPG-KEY-wlcg; \ | ||
curl -s -o /etc/yum.repos.d/wlcg-centos7.repo http://linuxsoft.cern.ch/wlcg/wlcg-centos7.repo; | ||
|
||
RUN yum install osg-ca-certs voms voms-clients wlcg-voms-atlas fetch-crl -y | ||
|
||
# We need python3 which is not part of the Rucio docker image | ||
RUN yum install -y centos-release-scl && \ | ||
yum install -y rh-python36 | ||
|
||
# Okay, change our shell to specifically use our software collections. | ||
# (default was SHELL [ "/bin/sh", "-c" ]) | ||
# https://docs.docker.com/engine/reference/builder/#shell | ||
# | ||
# See also `scl` man page for enabling multiple packages if desired: | ||
# https://linux.die.net/man/1/scl | ||
SHELL [ "/usr/bin/scl", "enable", "rh-python36" ] | ||
|
||
COPY requirements.txt requirements.txt | ||
|
||
RUN pip install -r requirements.txt | ||
|
||
|
||
COPY scl_enable /usr/bin/scl_enable | ||
|
||
RUN python3 -m pip install -r requirements.txt | ||
|
||
COPY . . | ||
|
||
# build | ||
RUN echo "Timestamp:" `date --utc` | tee /image-build-info.txt | ||
|
||
ENV BASH_ENV="/usr/bin/scl_enable" \ | ||
ENV="/usr/bin/scl_enable" \ | ||
PROMPT_COMMAND=". /usr/bin/scl_enable" | ||
|
||
ENV X509_USER_PROXY /etc/grid-security/x509up | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
rucio-clients==1.21.12 | ||
rucio-clients>=1.21.12 | ||
pika==1.1.0 | ||
|
This file was deleted.
Oops, something went wrong.