Skip to content

Commit

Permalink
support for pull base
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart De Vylder committed May 8, 2017
1 parent 65a3569 commit b968e25
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pull.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ NAME=${1:-all}

docker login -u "$REGISTRY_USERNAME" -p "$REGISTRY_PASSWORD" -e "$REGISTRY_EMAIL" $REGISTRY

if ["$NAME" == "base"]; then
for SERVICE in base python java7 java8 rserve numpy; do
IMG=coscale/$SERVICE:1.0.0
docker pull $REGISTRY/$IMG
docker tag $REGISTRY/$IMG $IMG
done
exit 0
fi

function pull {
SERVICE=$1
IMAGE_VERSION=$2
Expand Down

0 comments on commit b968e25

Please sign in to comment.