File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM rust:1.80.1-bullseye
2
+ LABEL org.opencontainers.image.authors=
"Christoph Knittel <[email protected] >"
3
+ LABEL org.opencontainers.image.description="Docker image for ReScript development."
4
+
5
+ RUN apt update && apt install -y --no-install-recommends ca-certificates curl git rsync opam musl-tools python3 python-is-python3
6
+
7
+ # Node.js
8
+ RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -
9
+ RUN apt install -y nodejs
10
+
11
+ # OCaml
12
+ RUN opam init -y --bare --disable-sandboxing git+https://github.com/rescript-lang/opam-repository
13
+ RUN opam switch create 5.2.0 --packages ocaml-option-static
14
+ RUN opam install -y dune cppo=1.6.9 js_of_ocaml-compiler=5.8.1 ocamlformat=0.26.2 ounit2=2.2.7 reanalyze=2.25.1
You can’t perform that action at this time.
0 commit comments