mirror of
https://github.com/nodew/haskell-realworld-example.git
synced 2024-09-11 17:16:02 +03:00
Add dev container
This commit is contained in:
parent
fa58d7b9ab
commit
f791b8d7a7
25
.devcontainer/devcontainer.json
Normal file
25
.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,25 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
|
||||
{
|
||||
"name": "Haskell-quick-dev-container",
|
||||
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04",
|
||||
"features": {
|
||||
"ghcr.io/devcontainers-contrib/features/haskell:2": {
|
||||
"ghcVersion": "9.2.7",
|
||||
"installHLS": true,
|
||||
"installStack": true,
|
||||
"installStackGHCupHook": true
|
||||
// "globalPackages": ""
|
||||
}
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"haskell.haskell"
|
||||
]
|
||||
}
|
||||
},
|
||||
"postCreateCommand": "sudo apt-get update && sudo apt-get install libpq-dev -y",
|
||||
"remoteUser": "root",
|
||||
"containerUser": "root"
|
||||
}
|
Loading…
Reference in New Issue
Block a user