Skip to content

Commit

Permalink
Use buildx command when building dnsmasq
Browse files Browse the repository at this point in the history
  • Loading branch information
tstapler committed Jun 30, 2022
1 parent 131ae8b commit 3032999
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images/dnsmasq/Makefile
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

VERSION ?= $(shell git describe --tags --always --dirty)
REGISTRY ?= staging-k8s.gcr.io
REGISTRY ?= gcr.io/k8s-staging-dns
ARCH ?= amd64
DNSMASQ_VERSION ?= dnsmasq-2.86
CONTAINER_PREFIX ?= k8s-dns
Expand Down Expand Up @@ -165,7 +165,7 @@ containers: $(CONTAINER_STAMP)

$(CONTAINER_STAMP): $(BINARY)
@echo "container:" $(REGISTRY)/$(IMAGE):$(VERSION)
@docker build --pull \
@docker buildx build --pull --load --platform linux/$(ARCH) \
-q -t $(REGISTRY)/$(IMAGE):$(VERSION) $(OUTPUT_DIR)/docker > $@

.PHONY: test
Expand Down

0 comments on commit 3032999

Please sign in to comment.