From a108063b6ff558954c1639871f660a185d86d267 Mon Sep 17 00:00:00 2001 From: Caleb Brose <5447118+cmbrose@users.noreply.github.com> Date: Mon, 22 Jul 2024 14:32:14 -0500 Subject: [PATCH] Document `codespaces.disableAutomaticConfiguration` (#1132) * Document `codespaces.disableAutomaticConfiguration` * Update src/universal/README.md Co-authored-by: Samruddhi Khandale * Update src/universal/README.md Co-authored-by: Samruddhi Khandale --------- Co-authored-by: Samruddhi Khandale --- src/universal/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/universal/README.md b/src/universal/README.md index 8bc2c1e19..c069f3592 100644 --- a/src/universal/README.md +++ b/src/universal/README.md @@ -53,6 +53,19 @@ Alternatively, you can use the contents of [.devcontainer](.devcontainer) to ful Refer to [this guide](https://containers.dev/guide/dockerfile) for more details. +## Disabling Automatic Setup in Codespaces + +Codespaces will automatically perform some default setup when the `universal` image is used and no `postCreateCommand` is provided. This can be disabled with the `customizations.codespaces.disableAutomaticConfiguration` setting: + +```jsonc +"customizations": { + // Configure properties specific to Codespaces. + "codespaces": { + "disableAutomaticConfiguration": true + } +} +``` + ## License Copyright (c) Microsoft Corporation. All rights reserved.