Fix docker-shell command bug (#3336)
author오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Thu, 25 Oct 2018 08:22:16 +0000 (17:22 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Thu, 25 Oct 2018 08:22:16 +0000 (17:22 +0900)
Need docker option -it for interactive

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
scripts/command/docker-shell

index 8549d20..9f24c36 100755 (executable)
@@ -2,6 +2,7 @@
 
 source "${NNFW_SCRIPT_PATH}/docker.configuration"
 
+DOCKER_RUN_OPTS+=" -it"
 docker run $DOCKER_RUN_OPTS $DOCKER_ENV_VARS $DOCKER_VOLUMES $DOCKER_IMAGE_NAME "/bin/bash"
 EXITCODE=$?