Skip to content

Commit

Permalink
Merge pull request #282 from jamestjw/fix/ocaml-dockerfile
Browse files Browse the repository at this point in the history
fix: add linux-headers to ML dockerfile
  • Loading branch information
andy1li authored Dec 8, 2024
2 parents e917f15 + 04f42bd commit dc61800
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dockerfiles/ocaml-5.2.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="dune,dune-project"
# hadolint ignore=DL3002
USER root

# Install headers as OCaml libraries that use system APIs will inevitably need this
RUN apk add linux-headers=6.6-r0 --no-cache

# Install dune
RUN opam update && opam install dune.3.16.0 --yes

Expand Down

0 comments on commit dc61800

Please sign in to comment.