Skip to content

Commit 4af8c3b

Browse files
authored
Add devcontainer
1 parent e5ea0e4 commit 4af8c3b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// For format details, see https://aka.ms/devcontainer.json.
2+
{
3+
"name": "Hack",
4+
"runArgs": [
5+
"--init"
6+
],
7+
"image": "hhvm/hhvm:latest",
8+
9+
// Set *default* container specific settings.json values on container create.
10+
"userEnvProbe": "loginShell",
11+
12+
// Add the IDs of extensions you want installed when the container is created.
13+
"extensions": [
14+
"pranayagarwal.vscode-hack",
15+
],
16+
17+
// Use 'postCreateCommand' to run commands after the container is created.
18+
"postCreateCommand": "curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && composer install"
19+
20+
}

0 commit comments

Comments
 (0)