File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 5050
5151# building local image to "cache" installed dependencies for subsequent builds
5252docker buildx build \
53+ --platform " $docker_platform " \
5354 " ${extra_build_args[@]} " \
5455 --cache-from " type=registry,ref=${docker_tag} " \
5556 --cache-from " type=registry,ref=${default_branch_tag} " \
56- --platform " $docker_platform " \
5757 -t " $docker_tag " \
5858 --build-arg ARCH=" $ARCH " \
5959 --build-arg CMAKE_ARCH=" $CMAKE_ARCH " \
@@ -71,6 +71,7 @@ if [ -t 0 ]; then tty_args+=("-t"); fi
7171# of course, this only works reliably if you don't run this script from that directory
7272# but it's still not the worst idea to do so
7373docker run \
74+ --platform " $docker_platform " \
7475 --rm \
7576 -i \
7677 " ${tty_args[@]} " \
You can’t perform that action at this time.
0 commit comments