File tree Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 15
15
# SPDX-License-Identifier: Apache-2.0
16
16
17
17
sudo chmod +x .devcontainer/scripts/* .sh
18
- sudo chown -R $( whoami) $HOME
19
18
20
19
.devcontainer/scripts/setup-git.sh
21
20
22
21
if [[ -z " ${VELOCITAS_OFFLINE} " ]]; then
23
22
.devcontainer/scripts/configure-codespaces.sh
24
23
.devcontainer/scripts/upgrade-cli.sh
25
- elif [[ -x .devcontainer/scripts/local-setup.sh ]]; then
26
- .devcontainer/scripts/local-setup.sh
24
+ fi
25
+
26
+ # Call user initialization hook if present
27
+ ON_CREATE_USER_HOOK_PATH=.devcontainer/scripts/onCreateUserHook.sh
28
+ if [[ -x $ON_CREATE_USER_HOOK_PATH ]]; then
29
+ $ON_CREATE_USER_HOOK_PATH
27
30
fi
28
31
29
32
echo " #######################################################"
Original file line number Diff line number Diff line change 15
15
# SPDX-License-Identifier: Apache-2.0
16
16
17
17
.devcontainer/scripts/upgrade-cli.sh
18
+
19
+ # Call user initialization hook if present
20
+ POST_START_USER_HOOK_PATH=.devcontainer/scripts/onPostStartUserHook.sh
21
+ if [[ -x $POST_START_USER_HOOK_PATH ]]; then
22
+ $POST_START_USER_HOOK_PATH
23
+ fi
Original file line number Diff line number Diff line change 3
3
"devenv-runtimes" : " v4.0.6" ,
4
4
"devenv-github-workflows" : " v6.1.3" ,
5
5
"devenv-github-templates" : " v1.0.5" ,
6
- "devenv-devcontainer-setup" : " v2.5.1 "
6
+ "devenv-devcontainer-setup" : " v2.5.2 "
7
7
}
8
8
}
Original file line number Diff line number Diff line change 3
3
"devenv-runtimes" : " v4.0.6" ,
4
4
"devenv-github-workflows" : " v6.1.3" ,
5
5
"devenv-github-templates" : " v1.0.5" ,
6
- "devenv-devcontainer-setup" : " v2.5.1 "
6
+ "devenv-devcontainer-setup" : " v2.5.2 "
7
7
},
8
8
"components" : [
9
9
" runtime-local" ,
You can’t perform that action at this time.
0 commit comments