From e615b43df77ba3c37a3f8cd010be2b9a4db2a29c Mon Sep 17 00:00:00 2001 From: James Adams Date: Tue, 12 Feb 2019 15:31:02 +0000 Subject: [PATCH] Create pool account groups and users in image --- docker-c6/Dockerfile | 5 ++++- docker-c7/Dockerfile | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docker-c6/Dockerfile b/docker-c6/Dockerfile index e9d821d..a484a80 100644 --- a/docker-c6/Dockerfile +++ b/docker-c6/Dockerfile @@ -8,7 +8,10 @@ RUN echo -e '#!/bin/bash\nfor p in "$@"; do\nyum -y install "$p" || exit 1; done RUN yummy yum-priorities -RUN yummy zip +RUN yummy zip curl + +# Create all possible pool accounts +RUN curl -s https://raw.githubusercontent.com/stfc/grid-workernode/master/resources/pool_accounts/create.sh | bash - # CVMFS (for SUM tests only; install before adding other repos to ensure we have the latest version) # Install cvmfs-x509-helper for access to secure CVMFS repositories diff --git a/docker-c7/Dockerfile b/docker-c7/Dockerfile index 5da0a16..47adf5c 100644 --- a/docker-c7/Dockerfile +++ b/docker-c7/Dockerfile @@ -8,7 +8,10 @@ RUN echo -e '#!/bin/bash\nfor p in "$@"; do\nyum -y install "$p" || exit 1; done RUN yummy yum-priorities -RUN yummy zip +RUN yummy zip curl + +# Create all possible pool accounts +RUN curl -s https://raw.githubusercontent.com/stfc/grid-workernode/master/resources/pool_accounts/create.sh | bash - # CVMFS (for SUM tests only; install before adding other repos to ensure we have the latest version) RUN yummy https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest.noarch.rpm \