Skip to content
Snippets Groups Projects
Commit 22db2a0e authored by Tom McCauley's avatar Tom McCauley
Browse files

add eos

parent f9a0935d
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
# Use Centos 8 or Centos Stream 8? # Use Centos 8 or Centos Stream 8?
ARG BASEIMAGE=gitlab-registry.cern.ch/linuxsupport/c8-base:20210901-1.x86_64 ARG BASEIMAGE=gitlab-registry.cern.ch/linuxsupport/c8-base:20210901-1.x86_64
#ARG BASEIMAGE=gitlab-registry.cern.ch/linuxsupport/cs8-base
# Set up the C8 CMSSW base: # Set up the C8 CMSSW base:
FROM ${BASEIMAGE} FROM ${BASEIMAGE}
...@@ -57,6 +56,11 @@ RUN wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/EGI ...@@ -57,6 +56,11 @@ RUN wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/EGI
yum install -y ca-policy-egi-core wlcg-repo.noarch HEP_OSlibs && \ yum install -y ca-policy-egi-core wlcg-repo.noarch HEP_OSlibs && \
yum clean -y all yum clean -y all
ADD eos.repo /etc/yum.repos.d/eos.repo
RUN yum --enablerepo=extras install -y epel-release && \
yum install -y eos-client && \
yum clean -y all
RUN groupadd -g 1000 cmsusr && adduser -u 1000 -g 1000 -G root cmsusr && \ RUN groupadd -g 1000 cmsusr && adduser -u 1000 -g 1000 -G root cmsusr && \
echo "cmsusr ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers && \ echo "cmsusr ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers && \
groupadd -g 1001 cmsinst && adduser -u 1001 -g 1001 cmsinst && \ groupadd -g 1001 cmsinst && adduser -u 1001 -g 1001 cmsinst && \
......
...@@ -7,8 +7,8 @@ build: docker_build output ...@@ -7,8 +7,8 @@ build: docker_build output
release: docker_build docker_push output release: docker_build docker_push output
# Image can be overidden with env var. # Image can be overidden with env var.
DOCKER_IMAGE ?= cmscloud/cc8-cms DOCKER_IMAGE ?= cmscloud/c8-cms
CERN_IMAGE ?= gitlab-registry.cern.ch/cms-cloud/cmssw-docker/cc8-cvmfs CERN_IMAGE ?= gitlab-registry.cern.ch/cms-cloud/cmssw-docker/c8-cvmfs
# Get the latest commit. # Get the latest commit.
GIT_COMMIT = $(strip $(shell git rev-parse --short HEAD)) GIT_COMMIT = $(strip $(shell git rev-parse --short HEAD))
......
[eos-citrine]
name=EOS 4.0 Version
baseurl=https://storage-ci.web.cern.ch/storage-ci/eos/citrine/tag/el-8/x86_64/
gpgcheck=0
[eos-citrine-dep]
name=EOS 4.0 Dependencies
baseurl=https://storage-ci.web.cern.ch/storage-ci/eos/citrine-depend/el-8/x86_64/
gpgcheck=0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment