Skip to content

Commit

Permalink
Update local build instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
benlee0423 authored Nov 13, 2024
1 parent c89066f commit c7e76fe
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,17 +203,12 @@ Here is the commands that build ngiab image locally using docker build.

```
cd docker
docker build -f Dockerfile.ngen-deps -t awiciroh/ngen-deps . --no-cache
docker build -f Dockerfile.t-route -t awiciroh/t-route . --no-cache --build-arg TAG_NAME=latest
docker build -f Dockerfile.ngen -t awiciroh/ngen . --no-cache --build-arg TAG_NAME=latest
docker build -f Dockerfile -t awiciroh/ciroh-ngen-image:latest . --no-cache --build-arg TAG_NAME=latest
docker build -f Dockerfile -t awiciroh/ciroh-ngen-image:latest . --no-cache
```

This image will not be pushed to Docker hub, and will stay in local machine.
If you need to run guide.sh with the image built, image tag must match with your machine platform.
If you need to run guide.sh with the image built, image tag must match with the tag in guide.sh.

For Arm64 architecture, use latest tag.\
For X86 architecture, use latest-x86 tag.\
For windows user, the build should be run as administrator.

Note: buildx command cannot be used in local build.
Expand Down

0 comments on commit c7e76fe

Please sign in to comment.