Created
September 3, 2015 14:44
-
-
Save rrnewton/aa18c86cdb169ce3fca1 to your computer and use it in GitHub Desktop.
Stack docker hello world (getting errors)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docker-hello-world | |
version: 0.1.0.0 | |
build-type: Simple | |
cabal-version: >=1.10 | |
executable docker-hello-world | |
main-is: Main.hs | |
build-depends: base >=4.7 && <4.8 | |
default-language: Haskell2010 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main = print "hello world" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
flags: {} | |
packages: | |
- '.' | |
extra-deps: [] | |
resolver: lts-2.22 | |
docker: | |
enable: true | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ stack build | |
Error response from daemon: Cannot start container 929d5f0606bd09ee52877cd5cd02599d5e6fd49a9fb3019c6d279fb269b38ae4: stat /nfs/home/rrnewton/build/docker_hello_world/.stack-work/docker/basic_build_lts-2.22_20150811/.ghcjs: permission denied |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment