This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
12
unikernel/duniverse/dune_/docker/dev.Dockerfile
Normal file
12
unikernel/duniverse/dune_/docker/dev.Dockerfile
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# little dockerfile to debug CI issues
|
||||
FROM ocaml/opam
|
||||
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
|
||||
RUN opam init --reinit -ni
|
||||
RUN mkdir -p /home/opam/dune/_boot /home/opam/dune/_build && chown opam:opam /home/opam/dune/_boot /home/opam/dune/_build
|
||||
COPY Makefile Makefile
|
||||
COPY .ocamlformat .ocamlformat
|
||||
RUN --mount=type=cache,target=/var/cache/apt sudo apt-get update && sudo apt-get install -y pkg-config nodejs strace file linux-perf-5.10
|
||||
# XXX not really correct as we should copy dune's source and pin it first. But
|
||||
# this docker file is mostly useful for quickly figuring out CI issues, so we
|
||||
# aren't too concerned
|
||||
RUN opam update && make dev-depext && make dev-deps && rm .ocamlformat Makefile
|
||||
Loading…
Add table
Add a link
Reference in a new issue