Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Nov 19, 2024
1 parent 287c12f commit 4b581e4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ For more details please refer to <https://github.com/leleliu008/ndk-pkg-package-

## Using ndk-pkg via [Docker](https://www.docker.com/)

This is the recommended way of using this software if you prefer to use this software locally due to docker container is an isolated clean environment where the running process can not be affected by your host system's environemt variables.
This is the recommended way of using this software if you want to use this software locally.

`docker` container is an isolated clean environment where the running process can not be affected by your host system's environemt variables.

**step1. create the ndk-pkg docker container**

Expand Down Expand Up @@ -89,9 +91,11 @@ docker exec -it ndk-pkg ndk-pkg install curl --target=android-35-arm64-v8a --sta

**Note:** you can use `podman` instead of `docker`

## Using ndk-pkg via chroot on linux-x86_64
## Using ndk-pkg via chroot

This is the recommended way of using this software if you want to use this software locally and your host is `linux-x86_64`.

This is the recommended way of using this software if you prefer to use this software locally due to chroot likes docker container is an isolated clean environment where the running process can not be affected by your host system's environemt variables.
`chroot` likes `docker` container is an isolated clean environment where the running process can not be affected by your host system's environemt variables.

```bash
curl -LO http://dl-cdn.alpinelinux.org/alpine/v3.20/releases/x86_64/alpine-minirootfs-3.20.3-x86_64.tar.gz
Expand Down

0 comments on commit 4b581e4

Please sign in to comment.