blog/utils/agda.Dockerfile

9 lines
421 B
Text
Raw Normal View History

2023-10-11 19:45:33 +00:00
FROM haskell:9-buster
2023-10-11 18:42:22 +00:00
RUN cabal update
2023-10-11 19:45:33 +00:00
RUN cabal install --global Agda-2.6.4
2023-10-11 18:42:22 +00:00
2023-10-11 19:45:33 +00:00
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"]