build-uft-image.sh: error handling

Exit with non-zeron if "docker build" fails.

Closes-Bug: 2062019
Change-Id: If1ce682b99a98c918dd603ad78bc1de519525f84
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
This commit is contained in:
Davlet Panech 2024-04-17 10:40:11 -04:00
parent fb1cb016b5
commit 2f5f1aa9c4

View File

@ -17,6 +17,7 @@ docker build -t "$IMAGE_TAG" -f images/Dockerfile.uft . \
--build-arg http_proxy="$http_proxy" \
--build-arg https_proxy="$https_proxy" \
--build-arg DPDK_TAG="$DPDK_TAG" \
--build-arg UFT_INSTALL_PATH=/usr/local/lib64
--build-arg UFT_INSTALL_PATH=/usr/local/lib64 \
|| exit 1
exit 0