-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitpod.Dockerfile
35 lines (28 loc) · 1.8 KB
/
.gitpod.Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM gitpod/workspace-full
# Install custom tools, runtimes, etc.
# For example "bastet", a command-line tetris clone:
# RUN brew install bastet
#
# More information: https://www.gitpod.io/docs/config-docker/
RUN sudo add-apt-repository -y ppa:avsm/ppa && sudo apt-get update -y && sudo apt-get install -y opam rsync darcs aspcud
USER gitpod
RUN echo '. /home/gitpod/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true' >> /home/gitpod/.bashrc
RUN opam init --disable-sandboxing
RUN eval $(opam env) && opam switch create 4.12.0
RUN eval $(opam env) && opam update
RUN eval $(opam env) && ocaml -version
RUN opam repo add janestreet-bleeding https://ocaml.janestreet.com/opam-repository#9e4f5d7
RUN opam repo add janestreet-bleeding-external https://github.com/janestreet/opam-repository.git#216b932
RUN opam update
RUN opam install -y dune base merlin ocamlformat ocaml-lsp-server utop
RUN opam pin add faraday https://github.com/dakotamurphyucf/faraday.git -y
RUN opam pin add faraday-async https://github.com/dakotamurphyucf/faraday.git -y
RUN opam pin add gluten https://github.com/anmonteiro/gluten.git -y
RUN opam pin add gluten-async https://github.com/anmonteiro/gluten.git -y
RUN opam pin add httpaf https://github.com/dakotamurphyucf/httpaf.git -y
RUN opam pin add httpaf-async https://github.com/dakotamurphyucf/httpaf.git -y
RUN opam pin add websocketaf https://github.com/dakotamurphyucf/websocketaf.git -y
RUN opam pin add websocketaf-async https://github.com/dakotamurphyucf/websocketaf.git -y
RUN opam pin https://github.com/dakotamurphyucf/ocaml-caqti.git -y -n
RUN opam install -y core async ppx_jane ppx_log ppx_expect pythonlib ppx_bin_prot ppx_csv_conv ppx_python ppx_sexp_value ppx_sexp_message ppx_yojson_conv uri httpaf-async websocketaf-async ppx_rapper_async caqti-driver-postgresql
RUN eval $(opam env)