Skip to content

Instantly share code, notes, and snippets.

@GoNZooo
Created April 5, 2021 08:07
Show Gist options
  • Save GoNZooo/2f4cae47e329cdda6e7a88ef558acee8 to your computer and use it in GitHub Desktop.
Save GoNZooo/2f4cae47e329cdda6e7a88ef558acee8 to your computer and use it in GitHub Desktop.
Basic development container for Yesod projects & VSCode
{
"dockerFile": "Dockerfile",
"forwardPorts": [
3000
],
"extensions": [
"sjurmillidahl.ormolu-vscode",
"dramforever.vscode-ghc-simple",
"lunaryorn.hlint",
"bigmoon.language-yesod",
"gonzooo.at-notes"
],
"settings": {
"[haskell]": {
"editor.tabSize": 2,
"editor.formatOnSave": true,
"editor.defaultFormatter": "sjurmillidahl.ormolu-vscode",
"editor.renderIndentGuides": true
}
}
}
FROM fpco/stack-build:lts-16.31
RUN apt update && apt install -y inotify-tools
RUN stack --resolver lts-16.31 install yesod-bin
RUN stack --resolver lts-16.31 install ormolu
RUN stack --resolver lts-16.31 install hlint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment