This is an automated email from the ASF dual-hosted git repository.
dzamo pushed a commit to branch 8260-arm64-image
in repository https://gitbox.apache.org/repos/asf/drill.git
The following commit(s) were added to refs/heads/8260-arm64-image by this push:
new d6fa9b1468 Use docker buildx.
d6fa9b1468 is described below
commit d6fa9b14680e91b1e85a9511483bee890d1f13e7
Author: James Turton <[email protected]>
AuthorDate: Tue Oct 15 08:49:27 2024 +0200
Use docker buildx.
---
hooks/build | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/hooks/build b/hooks/build
index ef3a0e5ebc..a854bab38b 100644
--- a/hooks/build
+++ b/hooks/build
@@ -17,21 +17,21 @@
# limitations under the License.
#
-docker build \
+docker buildx build \
--platform linux/amd64,linux/arm64 \
--build-arg BUILD_BASE_IMAGE=maven:3-openjdk-8 \
--build-arg BASE_IMAGE=openjdk:8 \
-t apache/drill:$DOCKER_TAG-openjdk-8 \
.
-docker build \
+docker buildx build \
--platform linux/amd64,linux/arm64 \
--build-arg BUILD_BASE_IMAGE=maven:3-openjdk-11 \
--build-arg BASE_IMAGE=openjdk:11 \
-t apache/drill:$DOCKER_TAG-openjdk-11 \
.
-docker build \
+docker buildx build \
--platform linux/amd64,linux/arm64 \
--build-arg BUILD_BASE_IMAGE=maven:3-openjdk-17 \
--build-arg BASE_IMAGE=openjdk:17-slim-bullseye \