Skip to content

Commit

Permalink
Dev Container: Add 'GHC 9.10.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
benz0li committed May 28, 2024
1 parent 49fe9c8 commit 9e6277e
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .devcontainer/ghc-9.10.1/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"name": "GHC 9.10.1",
"build": {
"dockerfile": "../GHC.Dockerfile",
"context": "..",
"args": {
"GHC_VERSION": "9.10.1",
"USE_ZSH_FOR_ROOT": "unset-to-use-ash",
"SET_LANG": "C.UTF-8",
"SET_TZ": ""
}
},

"onCreateCommand": "onCreateCommand.sh",
"postCreateCommand": "cabal update",

"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"configureZshAsDefaultShell": true,
"upgradePackages": false,
"username": "vscode",
"userUid": "automatic",
"userGid": "automatic"
}
},

"customizations": {
"vscode": {
"extensions": [
"[email protected]",
"exiasr.hadolint",
"GitHub.vscode-pull-request-github",
"mhutchie.git-graph",
"mutantdino.resourcemonitor",
"timonwong.shellcheck"
],
"settings": {
"gitlens.showWelcomeOnInstall": false,
"gitlens.showWhatsNewAfterUpgrades": false,
"resmon.show.battery": false,
"resmon.show.cpufreq": false
}
}
},

// Set 'remoteUser' to 'root' to connect as root instead.
"remoteUser": "vscode",

"remoteEnv": {
// Pip: Install packages to the user site
"PIP_USER": "1"
}
}

0 comments on commit 9e6277e

Please sign in to comment.