File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ FROM mcr.microsoft.com/devcontainers/rust:1-1-bookworm
2
2
LABEL org.opencontainers.image.authors="Christoph Knittel <ck@cca.io>"
3
3
LABEL org.opencontainers.image.description="Docker image for ReScript development."
4
4
5
- RUN apt update && apt install -y --no-install-recommends opam musl-tools python-is-python3
6
-
7
- # OCaml
8
- # RUN opam init -y --bare --disable-sandboxing git+https://github.com/rescript-lang/opam-repository
9
- # RUN opam switch create 5.2.0 --packages ocaml-option-static
10
- # 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
5
+ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
6
+ && apt-get -y install --no-install-recommends \
7
+ opam \
8
+ musl-tools \
9
+ python-is-python3 \
10
+ && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- # Opam stuff post install
3
+ # Install dev dependencies from OPAM
4
4
opam init -y --bare --disable-sandboxing git+https://github.com/rescript-lang/opam-repository
5
5
opam switch create 5.2.0 --packages ocaml-option-static
6
- 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
7
-
8
- # Install dev dependencies from OPAM
9
6
opam install . --deps-only -y
10
7
11
8
# For IDE support, install the OCaml language server
You can’t perform that action at this time.
0 commit comments