-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e3fa90d
commit 1c984f4
Showing
3 changed files
with
19 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
FROM gcc:8.5.0 | ||
FROM ubuntu:24.04 | ||
|
||
ENV OCAML_VERSION 4.01.0 | ||
ENV OCAML_VERSION 4.05.0 | ||
|
||
RUN apt update && apt upgrade -y && apt install -y --force-yes make | ||
RUN apt update && apt upgrade -y && apt install -y --force-yes opam | ||
|
||
RUN wget https://github.com/ocaml/ocaml/archive/refs/tags/${OCAML_VERSION}.zip | ||
RUN unzip ${OCAML_VERSION}.zip | ||
RUN cd ocaml-${OCAML_VERSION} && ./configure && make world.opt && make install | ||
RUN opam init --disable-sandboxing | ||
RUN opam update | ||
|
||
RUN mkdir /code | ||
RUN opam install -y ocaml=${OCAML_VERSION} | ||
RUN opam switch create ${OCAML_VERSION} | ||
|
||
RUN mkdir code | ||
WORKDIR /code | ||
|
||
CMD /code/scripts/docker/run-ml.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters