1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-12-05 02:31:33 +00:00

Implement tfw.sh buildtfw TAG overriding

This commit is contained in:
Kristóf Tóth 2018-04-14 02:23:55 +02:00
parent cf1174250b
commit da665562aa

View File

@ -23,8 +23,8 @@ build_baseimage()
{
[ ! -d "$BASEIMAGE_PATH" ] && return || :
cd $BASEIMAGE_PATH
docker build -t "${BASEIMAGE_NAME}:$(baseimage_releasename)" \
-t "${BASEIMAGE_NAME}:latest" \
docker build -t "${BASEIMAGE_NAME}:${TFWTAG:-$(baseimage_releasename)}" \
-t "${BASEIMAGE_NAME}:latest" \
.
}