mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 17:37:46 +08:00
Update README to use --platform=local with Docker 19.03
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
parent
0eb2df54ce
commit
77c23dd85f
@ -79,8 +79,7 @@ $ make install
|
|||||||
### with buildx or Docker 19.03
|
### with buildx or Docker 19.03
|
||||||
```
|
```
|
||||||
$ export DOCKER_BUILDKIT=1
|
$ export DOCKER_BUILDKIT=1
|
||||||
$ # choose a platform that matches your architecture
|
$ docker build --platform=local -o . git://github.com/docker/buildx
|
||||||
$ docker build --platform=[darwin,windows,linux,linux/arm64] -o . git://github.com/docker/buildx
|
|
||||||
$ mv buildx ~/.docker/cli-plugins/docker-buildx
|
$ mv buildx ~/.docker/cli-plugins/docker-buildx
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user