summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
author박천교/On-Device Lab(SR)/Engineer/삼성전자 <ch.bahk@samsung.com>2019-07-23 09:53:40 +0900
committer박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>2019-07-23 09:53:40 +0900
commit172eaba501e44d6099c6f744fce2a0c9b71cbc7d (patch)
treeca2aa2f0c31aeb44b6f576b889dee3c68d20218b /docs
parent31cb6181205b9962664f32f8467bc77ea132d70f (diff)
downloadnnfw-172eaba501e44d6099c6f744fce2a0c9b71cbc7d.tar.gz
nnfw-172eaba501e44d6099c6f744fce2a0c9b71cbc7d.tar.bz2
nnfw-172eaba501e44d6099c6f744fce2a0c9b71cbc7d.zip
Move Dockerfile for nncc into infra directory (#5744)
Previously nncc Dockerfile was placed in home directory. This commit moves the Dockerfile into 'infra/nncc' directory. Related documentation also edited. Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/nncc/getting_started.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/nncc/getting_started.md b/docs/nncc/getting_started.md
index 685f5af45..69076ee2c 100644
--- a/docs/nncc/getting_started.md
+++ b/docs/nncc/getting_started.md
@@ -10,20 +10,20 @@ _nncc_ provides ``Dockerfile`` in order to make it easy to setup development env
One may build ``nncc`` docker image with the following command:
```
-nncc$ cat Dockerfile | docker build -t nncc -
+nncc$ cat infra/nncc/Dockerfile | docker build -t nncc -
...
```
By default, this ``Dockerfile`` uses "archive.ubuntu.com" which may be quite slow. One may use mirror site via ``UBUNTU_MIRROR`` variable.
For example, one may enable the use of ``kr.archive.ubuntu.com`` via the following command
```
-nncc$ cat Dockerfile | docker build --build-arg UBUNTU_MIRROR="kr.archive.ubuntu.com" -t nncc -
+nncc$ cat infra/nncc/Dockerfile | docker build --build-arg UBUNTU_MIRROR="kr.archive.ubuntu.com" -t nncc -
...
```
One who works behind proxy should provide proxy configuration via the following command:
```
-nncc$ cat Dockerfile | docker build --build-arg HTTP_PROXY=<HTTP proxy address> --build-arg HTTPS_PROXY=<HTTPS proxy address> -t nncc -
+nncc$ cat infra/nncc/Dockerfile | docker build --build-arg HTTP_PROXY=<HTTP proxy address> --build-arg HTTPS_PROXY=<HTTPS proxy address> -t nncc -
...
```
One may use simplified command if ``HTTP_PROXY`` and ``HTTPS_PROXY`` environment variables are already set:
@@ -33,13 +33,13 @@ nncc$ export
declare -x HTTP_PROXY=...
declare -x HTTPS_PROXY=...
...
-nncc$ cat Dockerfile | docker build --build-arg HTTP_PROXY --build-arg HTTPS_PROXY -t nncc -
+nncc$ cat infra/nncc/Dockerfile | docker build --build-arg HTTP_PROXY --build-arg HTTPS_PROXY -t nncc -
...
```
Note that these configurations are orthogonal to each other. One may freely combine these options as follows:
```
-nncc$ cat Dockerfile | docker build --build-arg HTTP_PROXY --build-arg HTTPS_PROXY --build-arg UBUNTU_MIRROR="kr.archive.ubuntu.com" -t nncc -
+nncc$ cat infra/nncc/Dockerfile | docker build --build-arg HTTP_PROXY --build-arg HTTPS_PROXY --build-arg UBUNTU_MIRROR="kr.archive.ubuntu.com" -t nncc -
```
One may easily build _nncc_ with the following command once ``nncc`` docker image is built.