Allow overriding RUST_DISTROS with an env variable in build-docker-images.sh
@@ -19,7 +19,7 @@ GITTAG="$(git describe --tag --long --dirty)"
DOCKER_DIR_HASH="$(git rev-parse --short=12 HEAD:curiefense)"
DOCKER_TAG="${DOCKER_TAG:-$GITTAG-$DOCKER_DIR_HASH}"
STOP_ON_FAIL=${STOP_ON_FAIL:-yes}
-RUST_DISTROS=(bionic focal)
+IFS=' ' read -ra RUST_DISTROS <<< "${RUST_DISTROS:-bionic focal}"
if [ -n "$TESTIMG" ]; then
IMAGES=("$TESTIMG")
