Skip to content

Commit

Permalink
Merge pull request #232 from HSF/darkside_voms
Browse files Browse the repository at this point in the history
Add LSC file and vomses file for the darkside VO
  • Loading branch information
mightqxc authored Jun 18, 2024
2 parents 0ae0c9e + efd2455 commit 4b48a1b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ RUN mkdir /tmp/gtemp && \
RUN dnf install -y https://repo.opensciencegrid.org/osg/3.6/el9/release/x86_64/osg-ca-certs-1.114-2.osg36.el9.noarch.rpm
RUN dnf install -y https://repo.opensciencegrid.org/osg/3.6/el9/release/x86_64/vo-client-131-1.osg36.el9.noarch.rpm

# LSC file for the darkside VOMS server
RUN mkdir -p /etc/grid-security/vomsdir/vo.darkside.org && \
echo "/DC=org/DC=terena/DC=tcs/C=IT/ST=Roma/O=Istituto Nazionale di Fisica Nucleare/CN=vomsmania.cnaf.infn.it" > /etc/grid-security/vomsdir/vo.darkside.org/vomsmania.cnaf.infn.it.lsc && \
echo "/C=NL/O=GEANT Vereniging/CN=GEANT eScience SSL CA 4" >> /etc/grid-security/vomsdir/vo.darkside.org/vomsmania.cnaf.infn.it.lsc

# vomses file to refer to the darkside VOMS server
RUN echo "\"vo.darkside.org\" \"vomsmania.cnaf.infn.it\" \"15008\" \"/DC=org/DC=terena/DC=tcs/C=IT/ST=Roma/O=Istituto Nazionale di Fisica Nucleare/CN=vomsmania.cnaf.infn.it\" \"vo.darkside.org\"" > /etc/grid-security/vomses/darkside-vomsmania.cnaf.infn.it

# setup venv with pythonX.Y
RUN python$(echo ${PYTHON_VERSION} | sed -E 's/\.[0-9]+$//') -m venv /opt/harvester
RUN /opt/harvester/bin/pip install -U pip
Expand Down

0 comments on commit 4b48a1b

Please sign in to comment.