blob: d3556a8823e59a8d596760317e0ff92028c4b98c [file] [log] [blame]
Gary Wuf656edb2018-05-01 14:26:21 -07001#!/bin/bash -x
2
3if [ -z "$WORKSPACE" ]; then
4 export WORKSPACE=`git rev-parse --show-toplevel`
5fi
6
7if [ "$#" -ne 1 ]; then
8 echo "Usage: $0 <docker-proxy>"
9 exit 1
10fi
11DOCKER_PROXY=$1
12
13for DOCKER_IMAGE in $(tail -n +2 $WORKSPACE/version-manifest/src/main/resources/docker-manifest.csv | tr ',' ':'); do
14 docker pull $DOCKER_PROXY/$DOCKER_IMAGE
15done