Skip to content

Instantly share code, notes, and snippets.

@calebcase
Created March 6, 2018 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save calebcase/fdeca96e42a5f425756484a7392315e1 to your computer and use it in GitHub Desktop.
Save calebcase/fdeca96e42a5f425756484a7392315e1 to your computer and use it in GitHub Desktop.
alias haskell='docker run -it --rm --user "$(id -u):$(id -g)" --net=host -v "$(pwd)":"/home/$USER" --workdir="/home/$USER" -e HOME="/home/$USER" -e USER="$USER" haskell:8'
cd ~/some-haskell-project
haskell cabal update
haskell cabal build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment