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
1 changed files with 2 additions and 2 deletions

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" \
.
}