mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 00:47:48 +08:00
Merge pull request #84 from tiborvass/platform-local
Update README to use --platform=local with Docker 19.03
This commit is contained in:
commit
61a6fdd767
@ -79,8 +79,7 @@ $ make install
|
||||
### with buildx or Docker 19.03
|
||||
```
|
||||
$ export DOCKER_BUILDKIT=1
|
||||
$ # choose a platform that matches your architecture
|
||||
$ docker build --platform=[darwin,windows,linux,linux/arm64] -o . git://github.com/docker/buildx
|
||||
$ docker build --platform=local -o . git://github.com/docker/buildx
|
||||
$ mv buildx ~/.docker/cli-plugins/docker-buildx
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user