update build docs for different archs

Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>
pull/14461/head
Paul S. Schweigert 2022-06-28 17:10:56 -04:00
parent 0bbdeb89a1
commit b767af49b5
No known key found for this signature in database
GPG Key ID: 8DE1106C919E9405
1 changed files with 11 additions and 4 deletions

View File

@ -35,19 +35,26 @@ cd minikube
### Building
To build for x86
```shell
$ make buildroot-image
$ make out/minikube.iso
$ make out/minikube-amd64.iso
```
To build for ARM
```shell
$ make buildroot-image
$ make out/minikube-arm64.iso
```
The build will occur inside a docker container. If you want to do this on
baremetal, replace `make out/minikube.iso` with `IN_DOCKER=1 make out/minikube.iso`.
The bootable ISO image will be available in `out/minikube.iso`.
baremetal, replace `make out/minikube-<arch>.iso` with `IN_DOCKER=1 make out/minikube-<arch>.iso`.
The bootable ISO image will be available in `out/minikube-<arch>.iso`.
### Using a local ISO image
```shell
$ ./out/minikube start --iso-url=file://$(pwd)/out/minikube.iso
$ ./out/minikube start --iso-url=file://$(pwd)/out/minikube-<arch>.iso
```
### Modifying buildroot components