Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 494cff9

Browse files
committedSep 15, 2024·
testing both arch
1 parent ea4b4f9 commit 494cff9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docker/build_image.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ if [ "${BUILD_TYPE}" == "production" ]; then
224224
if [ "${MULTI}" == "true" ]; then
225225
DOCKER_BUILDKIT=1 docker buildx build --file Dockerfile --build-arg BASE_IMAGE="${BASE_IMAGE}" --build-arg USE_CUDA_VERSION="${CUDA_VERSION}" --build-arg PYTHON_VERSION="${PYTHON_VERSION}"\
226226
--build-arg BUILD_NIGHTLY="${BUILD_NIGHTLY}" --build-arg BRANCH_NAME="${BRANCH_NAME}" --build-arg REPO_URL="${REPO_URL}" --build-arg BUILD_FROM_SRC="${BUILD_FROM_SRC}"\
227-
--build-arg LOCAL_CHANGES="${LOCAL_CHANGES}" -t "${DOCKER_TAG}" --platform linux/amd64,linux/arm64 --target production-image ../ --push
227+
--build-arg LOCAL_CHANGES="${LOCAL_CHANGES}" -t "${DOCKER_TAG}" --platform linux/arm64 --target production-image ../ --push
228228
else
229229
DOCKER_BUILDKIT=1 docker buildx build --file Dockerfile --build-arg BASE_IMAGE="${BASE_IMAGE}" --build-arg USE_CUDA_VERSION="${CUDA_VERSION}" --build-arg PYTHON_VERSION="${PYTHON_VERSION}"\
230230
--build-arg BUILD_NIGHTLY="${BUILD_NIGHTLY}" --build-arg BRANCH_NAME="${BRANCH_NAME}" --build-arg REPO_URL="${REPO_URL}" --build-arg BUILD_FROM_SRC="${BUILD_FROM_SRC}"\

0 commit comments

Comments
 (0)
Please sign in to comment.