builder
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Michael Zhang 2023-10-11 14:45:33 -05:00
parent 1ff3499e81
commit 11e1601426
3 changed files with 12 additions and 2 deletions

1
.gitignore vendored
View file

@ -23,3 +23,4 @@ pnpm-debug.log*
PragmataPro-Mono-Liga-Regular-Nerd-Font-Complete.woff2
*.agdai
_build
.direnv

View file

@ -1,4 +1,8 @@
FROM haskell:9
FROM haskell:9-buster
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
View 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