Commit a3e31c17 authored by Matt Pryor's avatar Matt Pryor
Browse files

Add containing with rsync

parent 6b0fe52e
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -95,6 +95,13 @@ build:kubectl:
    CONTEXT_DIR: $CI_PROJECT_DIR/images/kubectl
  needs: ["build:base"]

build:rsync:
  extends: .docker-build
  stage: build-2
  variables:
    CONTEXT_DIR: $CI_PROJECT_DIR/images/rsync
  needs: ["build:base"]

build:nginx:
  extends: .docker-build
  stage: build-2
+13 −0
Original line number Diff line number Diff line
#####
## Image containing rsync for use when synchronising catalogs
#####

ARG ESGF_REPOSITORY_BASE=esgfdeploy
ARG ESGF_IMAGES_VERSION=latest
FROM ${ESGF_REPOSITORY_BASE}/base:${ESGF_IMAGES_VERSION}

USER root

RUN yum makecache && yum install -y rsync && yum clean all

USER $ESGF_UID