commercialhaskell / commercialhaskell/stack

$PWD is the -w workdir for docker builds but $PWD isn't mounted

Open
#2,009 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.