Skip to content

Commit 3c5b01c

Browse files
updates.
1 parent c734991 commit 3c5b01c

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@
9494
"source=/usr/local/share/ca-certificates,target=/home/ca-certificates,type=bind,consistency=cached"
9595
],
9696
"name": "NHS Notify Digital Letters",
97-
"postCreateCommand": "pipx install pre-commit && make config && echo 'export GPG_TTY=$TTY' | cat - ~/.zshrc > temp && mv temp ~/.zshrc",
97+
"postCreateCommand": "echo 'export GPG_TTY=$TTY' | cat - ~/.zshrc > temp && mv temp ~/.zshrc && /workspaces/nhs-notify-digital-letters/scripts/devcontainer/postcreatecommand.sh",
98+
"postStartCommand": "/workspaces/nhs-notify-digital-letters/scripts/devcontainer/poststartcommand.sh",
9899
"runArgs": [
99100
"--platform=linux/amd64"
100101
]

scripts/devcontainer/postcreatecommand.sh

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,3 @@ echo 'sorting certs'
44
sudo cp -nr /home/ca-certificates/. /usr/local/share/ca-certificates
55
sudo update-ca-certificates
66
echo 'sorted certs'
7-
8-
echo 'asdf setup starting'
9-
rm -Rf ~/.asdf
10-
git clone https://github.com/asdf-vm/asdf.git ~/.asdf;
11-
chmod +x ~/.asdf/asdf.sh;
12-
echo '. $HOME/.asdf/asdf.sh' >> ~/.zshrc
13-
echo '. $HOME/.asdf/completions/asdf.bash' >> ~/.zshrc
14-
source ~/.zshrc
15-
echo 'asdf setup complete'
16-
17-
echo 'make config starting'
18-
make config
19-
echo 'make config starting'
20-
21-
echo 'jekyll setup starting'
22-
jekyll --version && cd docs && bundle install
23-
echo 'jekyll setup complete'

0 commit comments

Comments
 (0)