-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile-0.11
50 lines (39 loc) · 1010 Bytes
/
Dockerfile-0.11
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
FROM phlummox/carnap-build:0.10
RUN \
git reset --hard && \
git clean -fd
COPY patches/EE-325140c468c11a4c100bcd3f901c6f31519a7988.patch ./
RUN \
git checkout 325140c468c11a4c100bcd3f901c6f31519a7988 && \
rm Carnap-Server/SecureStrings.hs && \
git apply EE-325140c468c11a4c100bcd3f901c6f31519a7988.patch
RUN \
stack build Carnap
RUN \
stack build Carnap-GHCJS
#COPY semigroupoids-5.0.1.tgz ./
#
#RUN set -x; \
# stack --resolver=lts-6.30 setup && \
# stack --resolver=lts-6.30 install cabal-install alex happy hscolour hsc2hs
#
#COPY stack-ghcjs.yaml ./
#
#ENV GHCJS_YAML=stack-ghcjs.yaml
#
#RUN set -x; \
# stack --stack-yaml=${GHCJS_YAML} setup
#
#RUN set -x; \
# stack build --stack-yaml=${GHCJS_YAML} Carnap && \
# stack build --stack-yaml=${GHCJS_YAML} Carnap-Client && \
# stack build --stack-yaml=${GHCJS_YAML} Carnap-GHCJS
#
## tar xf semigroupoids-5.0.1.tgz
#
#
#COPY mk_ghcjs_symlinks.sh ./
#
#RUN \
# ./mk_ghcjs_symlinks.sh && \
# stack build Carnap-Server