mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Update docker README with docker buildx instructions.
This commit is contained in:
parent
a6a46ae503
commit
bad2771802
|
@ -30,7 +30,10 @@ make
|
||||||
|
|
||||||
## Build and push a multiarch build
|
## Build and push a multiarch build
|
||||||
|
|
||||||
Make sure that `docker buildx` is supported.
|
Make sure that `docker buildx` is supported (might be an experimental docker feature)
|
||||||
```bash
|
```bash
|
||||||
|
BUILDER=$(docker buildx create --driver docker-container --use)
|
||||||
docker buildx build --pull --push --platform linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 . -t chrislusf/seaweedfs
|
docker buildx build --pull --push --platform linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 . -t chrislusf/seaweedfs
|
||||||
|
docker buildx stop $BUILDER
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue