Skip to content

Commit

Permalink
Merge pull request #1951 from commercialhaskell/mount-home-in-container
Browse files Browse the repository at this point in the history
mount $HOME in the container
  • Loading branch information
borsboom committed Mar 31, 2016
2 parents 3de2dc4 + a1af77c commit 0e7c632
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Stack/Docker.hs
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ runContainerAndExit getCmdArgs
,"-e","HOME=" ++ toFilePathNoTrailingSep sandboxHomeDir
,"-e","PATH=" ++ T.unpack newPathEnv
,"-e","PWD=" ++ toFilePathNoTrailingSep pwd
,"-v",toFilePathNoTrailingSep homeDir ++ ":" ++ toFilePathNoTrailingSep homeDir
,"-v",toFilePathNoTrailingSep stackRoot ++ ":" ++ toFilePathNoTrailingSep stackRoot
,"-v",toFilePathNoTrailingSep projectRoot ++ ":" ++ toFilePathNoTrailingSep projectRoot
,"-v",toFilePathNoTrailingSep sandboxHomeDir ++ ":" ++ toFilePathNoTrailingSep sandboxHomeDir
Expand Down

0 comments on commit 0e7c632

Please sign in to comment.