commercialhaskell / commercialhaskell/stack
$PWD is the -w workdir for docker builds but $PWD isn't mounted
Open
component: docker
type: bug
- Dominant language
- Haskell
- Stars
- 4.1k
- Forks
- 850
- Avg merge
- 10h 37m
- Merged PRs (30d)
- 4
Description
The code changes the docker -w workdir to $PWD but then doesn't mount $PWD. The code assumes (the most common case) that $PWD is under your project directory.
```
mkdir /tmp/pants
cd /tmp/pants
stack --stack-yaml=$HOME/src/bannanas/stack.yaml exec -- bash
```
_crashing locomotive sound_
Contributor guide
Assessment
This issue has not been assessed yet.