--- dts/vm_images/make_build_container.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 dts/vm_images/make_build_container.sh
diff --git a/dts/vm_images/make_build_container.sh b/dts/vm_images/make_build_container.sh new file mode 100755 index 0000000000..fb4472436f --- /dev/null +++ b/dts/vm_images/make_build_container.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +# Podman is used here because Docker does very odd things when +# building for another architecture. Docker's solution to this, +# buildx, is still unstable. + +podman build --arch arm64 -t dts_vm_builder:aarch64 . & +DTS_AARCH64_BUILD_PID=$! +podman build --arch amd64 -t dts_vm_builder:x86_64 . & +DTS_x86_64_BUILD_PID=$! +podman build --arch ppc64le -t dts_vm_builder:ppc64le . & +DTS_PPC64LE_BUILD_PID=$! + +wait $DTS_AARCH64_BUILD_PID +wait $DTS_PPC64LE_BUILD_PID +wait $DTS_x86_64_BUILD_PID \ No newline at end of file -- 2.20.1