File tree Expand file tree Collapse file tree 4 files changed +18
-10
lines changed
src/devcontainers/base/src/.devcontainer Expand file tree Collapse file tree 4 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 3333 description : Base development container for NHS Notify projects
3434 vendor : NHS England
3535 subFolder : ./src/devcontainers/base/src
36- runCmd : /welcome.sh
36+ runCmd : echo "Devcontainer built successfully"
3737
3838 # Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
3939 permissions :
Original file line number Diff line number Diff line change 5656 }
5757 },
5858 "features" : {
59- "./nhsnotify" : {
60- "version" : " 1.0.1"
61- },
59+
6260 "ghcr.io/devcontainers/features/aws-cli:1" : {
6361 "version" : " latest"
6462 },
9189 },
9290 "ghcr.io/devcontainers/features/ruby:1" : {
9391 "version" : " latest"
92+ },
93+ "ghcr.io/devcontainers/features/go:1" : {
94+ "version" : " latest"
95+ },
96+ "ghcr.io/devcontainer-community/devcontainer-features/asdf-vm.com:1" : {
97+ "version" : " latest"
98+ },
99+ "./nhsnotify" : {
100+ "version" : " 1.0.1"
94101 }
95102 },
96103 "forwardPorts" : [
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ cp ./welcome.sh /welcome.sh
66cp ./Makefile ~ /Makefile
77
88cp ~ /.zshrc /.zshrc
9- rm -Rf /.asdf
10- git clone https://github.com/asdf-vm/asdf.git /.asdf;
11- chmod +x /.asdf/asdf.sh;
12- echo ' . /.asdf/asdf.sh' >> /.zshrc
13- echo ' . /.asdf/completions/asdf.bash' >> /.zshrc
9+ # rm -Rf /.asdf
10+ # git clone https://github.com/asdf-vm/asdf.git /.asdf;
11+ # chmod +x /.asdf/asdf.sh;
12+ # echo '. /.asdf/asdf.sh' >> /.zshrc
13+ # echo '. /.asdf/completions/asdf.bash' >> /.zshrc
1414sed -i " /plugins=/c\plugins=(git ssh-agent sudo terraform dirhistory zsh-autosuggestions)" /.zshrc
1515
1616cat /.zshrc
Original file line number Diff line number Diff line change @@ -10,9 +10,10 @@ echo 'asdf setup complete'
1010
1111
1212echo ' copying defaults'
13- cd ~
13+
1414cp /nhsengland/repository-template/scripts ./scripts -r
1515cp /nhsengland/repository-template/Makefile ./
16+ cp /nhsengland/repository-template/.tool-versions ./
1617
1718make config
1819echo ' make config complete'
You can’t perform that action at this time.
0 commit comments