[Infrastructure] Update devcontainer (#67656)
authorJohn Salem <josalem@microsoft.com>
Tue, 3 May 2022 18:45:27 +0000 (11:45 -0700)
committerGitHub <noreply@github.com>
Tue, 3 May 2022 18:45:27 +0000 (11:45 -0700)
* Update devcontainer
* upgrade to 6.0 container and fix to Ubuntu 20.04
* Upgrade llvm/clang package versions

.devcontainer/Dockerfile
.gitignore

index 0af6039..dc0f12a 100644 (file)
@@ -1,12 +1,13 @@
 # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.192.0/containers/dotnet/.devcontainer/base.Dockerfile
+# For details on dotnet specific container, see: https://github.com/microsoft/vscode-dev-containers/tree/main/containers/dotnet
 
-# [Choice] .NET version: 5.0, 3.1, 2.1
-ARG VARIANT="5.0"
+# [Choice] .NET version: 6.0, 5.0, 3.1, 2.1
+ARG VARIANT="6.0-focal"
 FROM mcr.microsoft.com/vscode/devcontainers/dotnet:0-${VARIANT}
 
 # Set up machine requirements to build the repo
 RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
-    && apt-get -y install --no-install-recommends cmake llvm-9 clang-9 \
+    && apt-get -y install --no-install-recommends cmake llvm-10 clang-10 \
         build-essential python curl git lldb-6.0 liblldb-6.0-dev \
         libunwind8 libunwind8-dev gettext libicu-dev liblttng-ust-dev \
         libssl-dev libnuma-dev libkrb5-dev zlib1g-dev ninja-build
index a4848da..28326fe 100644 (file)
@@ -283,6 +283,9 @@ Session.vim
 # Visual Studio Code
 .vscode/
 
+# Codespaces
+.venv/
+
 # Private test configuration and binaries.
 config.ps1
 **/IISApplications