Fix Codespaces prebuild after CMake upgrade and set policy in Mono (#88410)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 5 Jul 2023 19:00:40 +0000 (21:00 +0200)
committerGitHub <noreply@github.com>
Wed, 5 Jul 2023 19:00:40 +0000 (12:00 -0700)
commitb2eb4cd88e28932b5c77e399a42334e3198731be
tree905825e8d6d2a51bf0b9e9c825ea0b62f9c192e8
parent3f19af848a431bdf1f39a39903f609c6e8366b0a
Fix Codespaces prebuild after CMake upgrade and set policy in Mono (#88410)

The prebuild on Codespaces broke after the minimum CMake version was bumped in https://github.com/dotnet/runtime/pull/86530 because the container was still using Ubuntu 20.04 (Focal) which only has CMake 3.16.1.

Upgrade to Ubuntu 22.04 (Jammy) so we have a new enough CMake.

Also fix a missing policy in the Mono CMakeLists.txt that was accidentally removed.
.devcontainer/libraries/Dockerfile
.devcontainer/libraries/devcontainer.json
.devcontainer/wasm/Dockerfile
.devcontainer/wasm/devcontainer.json
src/mono/CMakeLists.txt