Skip to content

Commit 45dfd10

Browse files
authored
Update .devcontainer.json
1 parent 6e438df commit 45dfd10

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.devcontainer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
22
"name": "terraform",
3-
"image": "mcr.microsoft.com/vscode/devcontainers/go:1",
43
"extensions": ["hashicorp.terraform"],
5-
"initializeCommand": "go install github.com/automation-co/[email protected] && husky init",
6-
"postCreateCommand": "/bin/bash -c 'curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add - && sudo apt-add-repository \"deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main\" && sudo apt-get update && sudo apt-get install packer terraform'",
4+
"postCreateCommand": "go install github.com/hashicorp/terraform@v1 github.com/hashicorp/packer@v1 github.com/automation-co/[email protected] && husky init",
5+
"image": "mcr.microsoft.com/vscode/devcontainers/go:1",
76
"hostRequirements": {
87
"cpus": 4,
98
"memory": "8gb",

0 commit comments

Comments
 (0)