-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (26 loc) · 818 Bytes
/
Dockerfile
File metadata and controls
34 lines (26 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM localhost:5000/atom
ENV PATH "$PATH:/root/.local/bin"
COPY $PWD/stack /root/.local/bin/stack
# Install build dep for ghc-mod
RUN apt-get install -y libgmp-dev
# no idea why, but if the command above
# and the command below are joined with `&&`
# all is lost
# Install haskell dev binaries
RUN stack setup \
&& stack install ghc-mod \
pointfree \
pointful \
stylish-haskell \
hoogle \
# Install atom packages
&& apm install language-haskell \
autocomplete-haskell \
haskell-ghc-mod \
haskell-hoogle \
haskell-pointfree \
ide-haskell \
ide-haskell-repl \
ide-haskell-stack
VOLUME ["~/.atom","/work/.stack-work"]
CMD ["atom","-f","."]