From ed57d08909b711b1a3dc9a8f3402f61898901a97 Mon Sep 17 00:00:00 2001 From: chrislu Date: Thu, 4 Sep 2025 23:14:47 -0700 Subject: [PATCH] fix build docker --- docker/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Makefile b/docker/Makefile index f1f2efc34..f9a23b646 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -20,9 +20,10 @@ build: binary docker build --no-cache -t chrislusf/seaweedfs:local -f Dockerfile.local . build_e2e: binary_race - DOCKER_BUILDKIT=1 docker build \ + docker buildx build \ --cache-from=type=local,src=/tmp/.buildx-cache \ --cache-to=type=local,dest=/tmp/.buildx-cache-new,mode=max \ + --load \ -t chrislusf/seaweedfs:e2e \ -f Dockerfile.e2e . # Move cache to avoid growing cache size