File tree Expand file tree Collapse file tree
src/base/.devcontainer/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,16 +67,4 @@ mkdir -p /usr/share/secrets-scanner
6767chmod 755 /usr/share/secrets-scanner
6868curl -L https://raw.githubusercontent.com/NHSDigital/software-engineering-quality-framework/main/tools/nhsd-git-secrets/nhsd-rules-deny.txt -o /usr/share/secrets-scanner/nhsd-rules-deny.txt
6969
70- # fix user and group ids for vscode user to be 1001 so it can be used by github actions
71- requested_uid=1001
72- requested_gid=1001
73- current_uid=" $( id -u vscode) "
74- current_gid=" $( id -g vscode) "
75- if [ " ${current_gid} " != " ${requested_gid} " ]; then groupmod -g " ${requested_gid} " vscode; fi
76- if [ " ${current_uid} " != " ${requested_uid} " ]; then usermod -u " ${requested_uid} " -g " ${requested_gid} " vscode; fi
7770chown -R vscode:vscode /home/vscode
78-
79- # link /home/vscode to /github/home for github actions to be able to access files in the container, and set permissions
80- mkdir -p /github
81- ln -s /home/vscode /github/home
82- chown -R vscode:vscode /github/home
You can’t perform that action at this time.
0 commit comments