Fix nnas command build-docker-image (#6451)
author이한종/On-Device Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Mon, 12 Aug 2019 00:44:26 +0000 (09:44 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Mon, 12 Aug 2019 00:44:26 +0000 (09:44 +0900)
`./nnas build-docker-image` did not work due to wrong path. This commit
fixes it. `${NNAS_SCRIPT_PATH}` is undefined.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
infra/command/build-docker-image

index ebbc9e5..5b1dbb5 100644 (file)
@@ -10,7 +10,7 @@ function Usage()
   docker build --help
 }
 
-DOCKER_FILE_RPATH="docker/Dockerfile"
+DOCKER_FILE_RPATH="infra/docker/Dockerfile"
 DOCKER_BUILD_ARGS=()
 
 # Handle argument for this script
@@ -43,4 +43,4 @@ done
 docker build --build-arg http_proxy="${http_proxy}" \
   --build-arg https_proxy="${https_proxy}" \
   ${DOCKER_BUILD_ARGS[@]} \
-  - < ${NNAS_SCRIPT_PATH}/${DOCKER_FILE_RPATH}
+  - < ${NNAS_PROJECT_PATH}/${DOCKER_FILE_RPATH}