Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
Add configuration for a dev container (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
Atry authored Nov 4, 2021
1 parent c196951 commit 45c2f16
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// For format details, see https://aka.ms/devcontainer.json.
{
"name": "Hack",
"runArgs": [
"--init"
],
"image": "hhvm/hhvm:latest",

// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.profiles.linux": {
"bash": {
"path": "/bin/bash",
"args": [
// This argument is necessary,
// because hhvm crashes in a non-login shell.
"--login",
]
}
},
"terminal.integrated.defaultProfile.linux": "bash"
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"pranayagarwal.vscode-hack",
],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && composer install"

}

0 comments on commit 45c2f16

Please sign in to comment.