Configure development container

This commit is contained in:
Taylor Fausak 2021-04-11 19:57:59 +00:00 committed by GitHub
parent ae417514fb
commit 84de506c0b
3 changed files with 12 additions and 1 deletions

View File

@ -2,3 +2,4 @@ FROM haskell:9.0.1
ARG USER=haskell
RUN useradd --create-home --shell "$( which bash )" "$USER"
USER "$USER"
ENV PATH="/home/$USER/.cabal/bin:$PATH"

View File

@ -1,5 +1,9 @@
{
"build": {
"dockerfile": "Dockerfile"
}
},
"extensions": [
"taylorfausak.purple-yolk"
],
"postCreateCommand": "cabal update"
}

6
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"purple-yolk.brittany.command": "false",
"purple-yolk.ghci.command": "cabal repl --ghc-options -Wwarn --repl-options -ddump-json",
"purple-yolk.hlint.command": "false",
"purple-yolk.hlint.onSave": false
}