Remove -i and -t options from docker run command

When the build-base-wheels.sh is run via Jenkins, there
is no tty, so docker rejects the -i and -t options.
These are not necessary for the build, and are removed
from the command execution.

Story: 2003907
Task: 27531
Signed-off-by: Don Penney <don.penney@windriver.com>
Change-Id: I4b1f4c2573df7b62acd48ee404d5aa3c098a50b1
This commit is contained in:
Don Penney 2018-11-23 08:58:37 -06:00
parent 81a4adc96b
commit a6a7d1380c
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ RM_OPT=
if [ "${KEEP_CONTAINER}" = "no" ]; then
RM_OPT="--rm"
fi
docker run ${RM_OPT} -v ${BUILD_OUTPUT_PATH}:/wheels -i -t ${BUILD_IMAGE_NAME} /docker-build-wheel.sh
docker run ${RM_OPT} -v ${BUILD_OUTPUT_PATH}:/wheels ${BUILD_IMAGE_NAME} /docker-build-wheel.sh
if [ "${KEEP_IMAGE}" = "no" ]; then
# Delete the builder image