Skip to content

Commit

Permalink
Add missing --platform flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dagardner-nv committed Jan 16, 2025
1 parent 1390525 commit ec14b09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions models/docker/build_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ DOCKER_EXTRA_ARGS=${DOCKER_EXTRA_ARGS:-""}
DOCKER_ARGS="-t ${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG}"
DOCKER_ARGS="${DOCKER_ARGS} --build-arg FROM_IMAGE=${FROM_IMAGE}"
DOCKER_ARGS="${DOCKER_ARGS} --build-arg FROM_IMAGE_TAG=${FROM_IMAGE_TAG}"
DOCKER_ARGS="${DOCKER_ARGS} --platform=linux/${DOCKER_TARGET_ARCH}"
DOCKER_ARGS="${DOCKER_ARGS} --network=host"

# Last add any extra args (duplicates override earlier ones)
Expand Down

0 comments on commit ec14b09

Please sign in to comment.