Update nginx image (#5010)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-02-04 11:49:07 -03:00 committed by GitHub
parent 08e19a2788
commit 6ab10fa68d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 269 additions and 13 deletions

View file

@ -13,7 +13,7 @@
# limitations under the License.
# 0.0.0 shouldn't clobber any released builds
TAG ?= 0.96
TAG ?= 0.97
REGISTRY ?= quay.io/kubernetes-ingress-controller
IMGNAME = nginx
@ -64,7 +64,9 @@ release: push
.PHONY: init-docker-buildx
init-docker-buildx:
ifneq ($(shell docker buildx 2>&1 >/dev/null; echo $?),)
$(error "buildx not vailable. Docker 19.03 or higher is required")
endif
docker run --rm --privileged docker/binfmt:66f9012c56a8316f9244ffd7622d7c21c1f6f28d
docker buildx create --name ingress-nginx --use || true
docker buildx inspect --bootstrap
endif