docs: reference buildx as a requirement for docker builds

Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
This commit is contained in:
Christopher M. Luciano 2020-02-13 14:19:39 -05:00
parent 4a33b1e163
commit d13135329a
No known key found for this signature in database
GPG key ID: 5148DBB31F2843F1
2 changed files with 3 additions and 1 deletions

View file

@ -272,7 +272,7 @@ check-go-version:
init-docker-buildx:
ifeq ($(DIND_TASKS),)
ifneq ($(shell docker buildx 2>&1 >/dev/null; echo $?),)
$(error "buildx not vailable. Docker 19.03 or higher is required")
$(error "buildx not available. Docker 19.03 or higher is required with experimental features enabled")
endif
docker run --rm --privileged docker/binfmt:66f9012c56a8316f9244ffd7622d7c21c1f6f28d
docker buildx create --name ingress-nginx --use || true

View file

@ -19,6 +19,8 @@ cd ingress-nginx
### Initial developer environment build
Ensure docker experimental features option is enabled for [buildx](https://docs.docker.com/buildx/working-with-buildx/)
```
$ make dev-env
```