From 2a5f0d8ba5d75978931e140a3313f53e62031e72 Mon Sep 17 00:00:00 2001 From: LangChain4j Date: Sun, 24 Dec 2023 22:27:02 +0100 Subject: [PATCH] fixing arm64 image build --- docker/ollama/phi/hooks/build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/ollama/phi/hooks/build b/docker/ollama/phi/hooks/build index 730c204ae..9f20bf1d2 100644 --- a/docker/ollama/phi/hooks/build +++ b/docker/ollama/phi/hooks/build @@ -1,5 +1,5 @@ #!/bin/bash -docker build --push --platform=linux/amd64 -f $DOCKERFILE_PATH -t ${IMAGE_NAME}_amd64 . -docker build --push --platform=linux/arm64 -f $DOCKERFILE_PATH -t ${IMAGE_NAME}_arm64 . +docker buildx build --push --platform=linux/amd64 -f $DOCKERFILE_PATH -t ${IMAGE_NAME}_amd64 . +docker buildx build --push --platform=linux/arm64 -f $DOCKERFILE_PATH -t ${IMAGE_NAME}_arm64 . docker manifest create ${IMAGE_NAME} --amend ${IMAGE_NAME}_amd64 --amend ${IMAGE_NAME}_arm64 docker manifest push ${IMAGE_NAME} \ No newline at end of file