This commit is contained in:
parent
1ff3499e81
commit
11e1601426
3 changed files with 12 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -23,3 +23,4 @@ pnpm-debug.log*
|
||||||
PragmataPro-Mono-Liga-Regular-Nerd-Font-Complete.woff2
|
PragmataPro-Mono-Liga-Regular-Nerd-Font-Complete.woff2
|
||||||
*.agdai
|
*.agdai
|
||||||
_build
|
_build
|
||||||
|
.direnv
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
FROM haskell:9
|
FROM haskell:9-buster
|
||||||
RUN cabal update
|
RUN cabal update
|
||||||
RUN cabal install Agda-2.6.4
|
RUN cabal install --global Agda-2.6.4
|
||||||
|
|
||||||
|
FROM debian:buster
|
||||||
|
COPY --from=0 /root/.cabal/bin/agda /usr/bin/agda
|
||||||
|
COPY --from=0 /root/.cabal/store/ghc-9.6.3/Agda-2.6.4-c592e701b6d172f37cf6e17790bc1993481dac7a9e29753b34c448a31924a9ab/share/lib /root/.cabal/store/ghc-9.6.3/Agda-2.6.4-c592e701b6d172f37cf6e17790bc1993481dac7a9e29753b34c448a31924a9ab/share/lib
|
||||||
|
CMD ["agda", "--interactive"]
|
||||||
|
|
5
utils/builder.Dockerfile
Normal file
5
utils/builder.Dockerfile
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
FROM git.mzhang.io/michael/agda:2.6.4-x86_64
|
||||||
|
|
||||||
|
FROM node:18
|
||||||
|
COPY --from=0 /usr/bin/agda /usr/bin/agda
|
||||||
|
COPY --from=0 /root/.cabal/store/ghc-9.6.3/Agda-2.6.4-c592e701b6d172f37cf6e17790bc1993481dac7a9e29753b34c448a31924a9ab/share/lib /root/.cabal/store/ghc-9.6.3/Agda-2.6.4-c592e701b6d172f37cf6e17790bc1993481dac7a9e29753b34c448a31924a9ab/share/lib
|
Loading…
Reference in a new issue