-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip added observer on log, transformer for log entries, MonPolyRunner…
…. But Monpoly isn't available as a command yet
- Loading branch information
Showing
19 changed files
with
678 additions
and
49 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Use an official OCaml base image | ||
FROM ocaml/opam:debian-10-ocaml-4.11 | ||
|
||
# Install necessary packages | ||
RUN sudo apt-get update && sudo apt-get install -y \ | ||
git \ | ||
opam | ||
|
||
# Initialize OPAM and switch to the required OCaml version | ||
RUN opam init -y --disable-sandboxing && \ | ||
opam switch create 4.11.1 && \ | ||
eval $(opam env) | ||
|
||
# Clone the MonPoly repository | ||
RUN git clone https://bitbucket.org/monpoly/monpoly.git | ||
|
||
# Set the working directory | ||
WORKDIR /home/opam/monpoly | ||
|
||
# Install dependencies | ||
RUN opam install --deps-only -y . | ||
|
||
# Build and install MonPoly | ||
RUN dune build --release && \ | ||
dune install | ||
|
||
# Set the entrypoint to monpoly | ||
ENTRYPOINT ["monpoly"] |
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
Oops, something went wrong.