diff --git a/ex101/ex101.1.1/Dockerfile b/ex101/ex101.1.1/Dockerfile index ec7b9a9..fe32f2a 100644 --- a/ex101/ex101.1.1/Dockerfile +++ b/ex101/ex101.1.1/Dockerfile @@ -1,4 +1,5 @@ -FROM tier/gte:base-201906 +ARG VERSION_TAG +FROM tier/gte:base-$VERSION_TAG LABEL author="tier-packaging@internet2.edu " \ Vendor="TIER" \ diff --git a/ex101/manualBuild.sh b/ex101/manualBuild.sh index e2d6b42..64ac5d6 100755 --- a/ex101/manualBuild.sh +++ b/ex101/manualBuild.sh @@ -1,4 +1,6 @@ -docker build --tag=tier/gte:101-$tag ex101-$tag +source ../buildVersion.sh +echo "Building gte:101 version ${VERSION_TAG}" +docker build --build-arg VERSION_TAG=${VERSION_TAG} --tag=tier/gte:101.1.1-${VERSION_TAG} ex101.1.1 if [[ "$OSTYPE" == "darwin"* ]]; then say exercises for 101 build complete