Mercurial > hg > Members > atton > agda-proofs
annotate Dockerfile @ 28:67978ba63a6f
Rewrite cs composition style
author | atton <atton@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 23 Dec 2016 10:43:23 +0000 |
parents | d924de5deb70 |
children | 8ce6a3f51523 |
rev | line source |
---|---|
15
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
1 # docker build -t agda:2.5.1.1 . |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
2 # docker run -it agda:2.5.1.1 zsh |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
3 |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
4 FROM fedora:24 |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
5 |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
6 RUN dnf update -y |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
7 RUN dnf install -y ghc emacs vim mercurial git cabal-install zlib zlib-devel zsh wget tar man |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
8 RUN cabal update |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
9 RUN cabal install cabal-install |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
10 RUN cabal install happy-1.19.5 alex-3.1.7 |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
11 RUN cabal install --force-reinstalls agda-2.5.1.1 |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
12 |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
13 WORKDIR /tmp |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
14 RUN mkdir -p /root/.agda/lib |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
15 RUN wget https://github.com/agda/agda-stdlib/archive/v0.12.tar.gz |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
16 RUN tar xzf v0.12.tar.gz -C /root/.agda/lib |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
17 RUN echo "standard-library" >> /root/.agda/defaults |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
18 RUN echo "/root/.agda/lib/agda-stdlib-0.12/standard-library.agda-lib" >> /root/.agda/libraries |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
19 |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
20 WORKDIR /root |
d924de5deb70
Add Dockerfile which build Agda 2.5.1.1
Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
21 RUN hg clone http://firefly.cr.ie.u-ryukyu.ac.jp/hg/Members/atton/agda-proofs |