fixing arm64 build

This commit is contained in:
LangChain4j 2023-12-25 10:10:45 +01:00
parent b9348021b5
commit da1d2ef1e7
1 changed files with 1 additions and 1 deletions

View File

@ -2,5 +2,5 @@
docker buildx create --use
docker buildx build --pull --push --no-cache --platform=linux/amd64 -f $DOCKERFILE_PATH -t ${IMAGE_NAME}-amd64 .
docker buildx build --pull --push --no-cache --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 create ${IMAGE_NAME} ${IMAGE_NAME}-amd64 ${IMAGE_NAME}-arm64
docker manifest push ${IMAGE_NAME}