Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
updated to use VERSION_TAG
wgthom committed Apr 20, 2019
1 parent 41162de commit 26b8dde
Showing 2 changed files with 14 additions and 11 deletions.
3 changes: 2 additions & 1 deletion ex201/ex201.1.1/Dockerfile
@@ -1,4 +1,5 @@
FROM tier/grouper-training-env:base
ARG VERSION_TAG
FROM tier/gte:base-$VERSION_TAG

LABEL author="tier-packaging@internet2.edu <tier-packaging@internet2.edu>" \
Vendor="TIER" \
22 changes: 12 additions & 10 deletions ex201/manualBuild.sh
@@ -1,13 +1,15 @@
docker build --tag=tier/gte:ex201.1.1-$tag ex201.1.1-$tag \
&& docker build --tag=tier/grouper-training-env:ex201.1.end ex201.1.end \
&& docker build --tag=tier/grouper-training-env:ex201.2.1 ex201.2.1 \
&& docker build --tag=tier/grouper-training-env:ex201.2.end ex201.2.end \
&& docker build --tag=tier/grouper-training-env:ex201.3.1 ex201.3.1 \
&& docker build --tag=tier/grouper-training-env:ex201.3.end ex201.3.end \
&& docker build --tag=tier/grouper-training-env:ex201.4.1 ex201.4.1 \
&& docker build --tag=tier/grouper-training-env:ex201.4.end ex201.4.end \
&& docker build --tag=tier/grouper-training-env:ex201.5.1 ex201.5.1 \
&& docker build --tag=tier/grouper-training-env:ex201.5.end ex201.5.end
source ../buildVersion.sh
echo "Building gte:201 version ${VERSION_TAG}"
docker build --build-arg VERSION_TAG=${VERSION_TAG} --tag=tier/gte:201.1.1-${VERSION_TAG} ex201.1.1 \
&& docker build --build-arg VERSION_TAG=${VERSION_TAG} --tag=tier/gte:201.1.end-${VERSION_TAG} ex201.1.end \
&& docker build --build-arg VERSION_TAG=${VERSION_TAG} --tag=tier/gte:201.2.1-${VERSION_TAG} ex201.2.1 \
&& docker build --build-arg VERSION_TAG=${VERSION_TAG} --tag=tier/gte:201.2.end-${VERSION_TAG} ex201.2.end \
&& docker build --build-arg VERSION_TAG=${VERSION_TAG} --tag=tier/gte:201.3.1-${VERSION_TAG} ex201.3.1 \
&& docker build --build-arg VERSION_TAG=${VERSION_TAG} --tag=tier/gte:201.3.end-${VERSION_TAG} ex201.3.end \
&& docker build --build-arg VERSION_TAG=${VERSION_TAG} --tag=tier/gte:201.4.1-${VERSION_TAG} ex201.4.1 \
&& docker build --build-arg VERSION_TAG=${VERSION_TAG} --tag=tier/gte:201.4.end-${VERSION_TAG} ex201.4.end \
&& docker build --build-arg VERSION_TAG=${VERSION_TAG} --tag=tier/gte:201.5.1-${VERSION_TAG} ex201.5.1 \
&& docker build --build-arg VERSION_TAG=${VERSION_TAG} --tag=tier/gte:201.5.end-${VERSION_TAG} ex201.5.end

if [[ "$OSTYPE" == "darwin"* ]]; then
say exercises for 201 build complete

0 comments on commit 26b8dde

Please sign in to comment.