From 557bc2a75f5c500a5b0dc201f69460335a8bf9cb Mon Sep 17 00:00:00 2001 From: Charlie Egan Date: Tue, 25 Jun 2024 11:53:05 +0100 Subject: [PATCH] build: Use chainguard images from dockerhub Merge after https://github.com/open-policy-agent/opa-envoy-plugin/pull/558 Follows https://github.com/open-policy-agent/opa/pull/6830 Signed-off-by: Charlie Egan --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1ffad95e7..3bb9405d0 100644 --- a/Makefile +++ b/Makefile @@ -93,12 +93,12 @@ image-static: image-quick: sed -e 's/GOARCH/$(GOARCH)/g' Dockerfile > .Dockerfile_$(GOARCH) - docker build -t $(IMAGE):$(VERSION) --build-arg BASE=cgr.dev/chainguard/glibc-dynamic -f .Dockerfile_$(GOARCH) . + docker build -t $(IMAGE):$(VERSION) --build-arg BASE=chainguard/glibc-dynamic -f .Dockerfile_$(GOARCH) . docker tag $(IMAGE):$(VERSION) $(IMAGE):$(VERSION_ISTIO) image-quick-static: sed -e 's/GOARCH/$(GOARCH)/g' Dockerfile > .Dockerfile_$(GOARCH) - docker build -t $(IMAGE):$(VERSION)-static --build-arg BASE=cgr.dev/chainguard/static:latest -f .Dockerfile_$(GOARCH) . + docker build -t $(IMAGE):$(VERSION)-static --build-arg BASE=chainguard/static:latest -f .Dockerfile_$(GOARCH) . docker tag $(IMAGE):$(VERSION)-static $(IMAGE):$(VERSION_ISTIO)-static push: