Skip to content

Commit

Permalink
fix --platform docker invocation
Browse files Browse the repository at this point in the history
Signed-off-by: Gerwin Klein <[email protected]>
  • Loading branch information
lsf37 committed May 12, 2024
1 parent 37eac9a commit e3e44b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ apply_software_to_image()

# NOTE: it's OK to supply docker build-args that aren't requested in the Dockerfile
# shellcheck disable=SC2086
$DOCKER_BUILD -platform $DOCKER_PLATFORM $DOCKER_FLAGS \
$DOCKER_BUILD --platform $DOCKER_PLATFORM $DOCKER_FLAGS \
--build-arg BASE_BUILDER_IMG="$DOCKERHUB$prebuilt_img" \
--build-arg BASE_IMG="$DOCKERHUB$orig_img" \
--build-arg SCM="$SCM" \
Expand Down

0 comments on commit e3e44b7

Please sign in to comment.