From: 여지환/On-Device Lab(SR)/Staff Engineer/삼성전자 Date: Thu, 10 Oct 2019 03:58:32 +0000 (+0900) Subject: Update document for docker image creation (#8016) X-Git-Tag: submit/tizen/20191205.083104~893 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7db79e93cb52d1f8b1af05e36c7c341e6a80f6b3;p=platform%2Fcore%2Fml%2Fnnfw.git Update document for docker image creation (#8016) 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 --- diff --git a/docs/nnfw/howto/HowToUseDockerImage.md b/docs/nnfw/howto/HowToUseDockerImage.md index 0b2a859..9dbdf2e 100644 --- a/docs/nnfw/howto/HowToUseDockerImage.md +++ b/docs/nnfw/howto/HowToUseDockerImage.md @@ -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`