From 1652294d5691a895c392e34a2d57dae9701815c2 Mon Sep 17 00:00:00 2001 From: Kousuke Saruta Date: Wed, 1 Nov 2023 18:40:12 +0900 Subject: [PATCH] Minor: Fix an error in running ./build.sh docker (#2571) --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index ea845abd163..ccf6a34b080 100755 --- a/build.sh +++ b/build.sh @@ -311,7 +311,7 @@ do } > Dockerfile # Include the ruby gemspec for preinstallation. # shellcheck disable=SC2086 - tar -cf- Dockerfile $DOCKER_EXTRA_CONTEXT | docker build $DOCKER_BUILD_XTRA_ARGS -t "$DOCKER_IMAGE_NAME" - + tar -cf- Dockerfile $DOCKER_EXTRA_CONTEXT | DOCKER_BUILDKIT=1 docker build $DOCKER_BUILD_XTRA_ARGS -t "$DOCKER_IMAGE_NAME" - rm Dockerfile # By mapping the .m2 directory you can do an mvn install from # within the container and use the result on your normal