Update document for docker image creation (#8016)
author여지환/On-Device Lab(SR)/Staff Engineer/삼성전자 <jihwan.yeo@samsung.com>
Thu, 10 Oct 2019 03:58:32 +0000 (12:58 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Thu, 10 Oct 2019 03:58:32 +0000 (12:58 +0900)
Build command changed from 'nnfw' to 'nnas'.
Update https://github.sec.samsung.net/STAR/nnfw/blob/master/docs/nnfw/howto/HowToUseDockerImage.md to use 'nnas' instead of 'nnfw'.

Signed-off-by: JiHwan Yeo <jihwan.yeo@samsung.com>
docs/nnfw/howto/HowToUseDockerImage.md

index 0b2a859..9dbdf2e 100644 (file)
@@ -108,21 +108,21 @@ You can build docker image in your environment instead of pull docker image from
 
 ```
 $ cd nnfw
-$ ./nnfw build-docker
+$ ./nnas build-docker-image
 ```
 
-Default docker image name is `nnfw_docker`. If you want to change image name and/or tag, use `-t` or `--tag` option
+Default docker image name is `nnas`. If you want to change image name, set environment variable `DOCKER_IMAGE_NAME`
 
 ```
 $ cd nnfw
-$ ./nnfw build-docker -t nnfw_docker_test
+$ DOCKER_IMAGE_NAME=nnas_test ./nnas build-docker-image
 ```
 
-You can use options supported by `docker build` command (ex. `--network` option)
+You can use options supported by `docker build` command (ex. `--network` or `--build-arg` option)
 
 ```
 $ cd nnfw
-$ ./nnfw build-docker --network=host --no-cache
+$ ./nnas build-docker-image --build-arg UBUNTU_MIRROR="kr.archive.ubuntu.com"
 ```
 
 ## Use docker image to build `nnfw`