diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 415b42241..aadb12a2c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -32,5 +32,6 @@ "label=disable" ], // Configure tool-specific properties. - "features": {} + "features": {}, + "postCreateCommand": "./.devcontainer/post_create_command.sh" } diff --git a/.devcontainer/post_create_command.sh b/.devcontainer/post_create_command.sh new file mode 100755 index 000000000..e130a9ab2 --- /dev/null +++ b/.devcontainer/post_create_command.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +# change owner for mounted volumes +sudo chown code:code /home/code/.conan2/p +sudo chown code:code /home/code/.ccache