forked from berndlosert/agda-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.Dockerfile
20 lines (19 loc) · 988 Bytes
/
.gitpod.Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM gitpod/workspace-full
# Install custom tools, runtime, etc.
RUN brew install agda; \
brew install haskell-language-server; \
brew uninstall --ignore-dependencies emacs; brew deps emacs | xargs -n 1 brew uninstall --ignore-dependencies; \
rm -rf /home/linuxbrew/.linuxbrew/etc/unbound; \
rm -rf /home/linuxbrew/.linuxbrew/etc/gnutls; \
rm -rf /home/linuxbrew/.linuxbrew/etc/[email protected]; \
rm -rf /home/linuxbrew/.linuxbrew/etc/ca-certificates; \
rm -rf /home/linuxbrew/.linuxbrew/share/emacs/site-lisp/agda; \
sed -i -e 's/gcc-5/gcc-9/g' /home/linuxbrew/.linuxbrew/Cellar/ghc/8.10.7_1/lib/ghc-8.10.7/settings; \
cabal update; cabal install --lib ieee754; cabal install --lib network; \
mkdir ~/.agda; \
echo /workspace/agda-base/base-library.agda-lib >> ~/.agda/libraries; \
echo base-library >> ~/.agda/defaults; \
echo "set hidden" >> ~/.vimrc; \
echo "set noswapfile" >> ~/.vimrc; \
echo "syntax off" >> ~/.vimrc; \
echo "stty -ixon" >> ~/.bashrc