From 8c5834c297ce836bf0ad2fd18407654ae614c946 Mon Sep 17 00:00:00 2001
From: Egor Tensin <Egor.Tensin@gmail.com>
Date: Tue, 30 May 2023 15:47:40 +0200
Subject: docker: fix armhf builds

---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'Makefile')

diff --git a/Makefile b/Makefile
index 2fd5e2a..07322c9 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,8 @@ PROJECT := cgitize
 PLATFORMS := amd64,armhf,arm64
 # Docker Hub credentials:
 DOCKER_USERNAME := egortensin
+# This is still required with older Compose versions to use TARGETARCH:
+export DOCKER_BUILDKIT := 1
 
 ifdef DOCKER_PASSWORD
 $(eval $(call noexpand,DOCKER_PASSWORD))
-- 
cgit v1.2.3