From f46213f68baf2c4b1cc742ea8a01b5267e7f0fbb Mon Sep 17 00:00:00 2001 From: Saikat Das Date: Mon, 22 Jul 2024 15:51:48 +0530 Subject: [PATCH] fix: postCreate.sh doesn't execute without providing execute permission to the script first (#33166) Co-authored-by: hubwriter --- .../rebuilding-the-container-in-a-codespace.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/codespaces/developing-in-a-codespace/rebuilding-the-container-in-a-codespace.md b/content/codespaces/developing-in-a-codespace/rebuilding-the-container-in-a-codespace.md index 230ea9ec0729..bb0fd901d791 100644 --- a/content/codespaces/developing-in-a-codespace/rebuilding-the-container-in-a-codespace.md +++ b/content/codespaces/developing-in-a-codespace/rebuilding-the-container-in-a-codespace.md @@ -53,7 +53,7 @@ If you want to preserve files outside the `/workspaces` directory over a rebuild ```json { "image": "mcr.microsoft.com/devcontainers/base:alpine", - "postCreateCommand": ".devcontainer/postCreate.sh" + "postCreateCommand": "chmod +x .devcontainer/postCreate.sh && .devcontainer/postCreate.sh" } ```