From 04f42bdbb5f1d495af43eb13685bc5c481a0e712 Mon Sep 17 00:00:00 2001 From: James Tan Date: Sat, 7 Dec 2024 20:40:23 -0500 Subject: [PATCH] fix: add linux-headers to ML dockerfile --- dockerfiles/ocaml-5.2.0.Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dockerfiles/ocaml-5.2.0.Dockerfile b/dockerfiles/ocaml-5.2.0.Dockerfile index 5deb4f17..943f6e9d 100644 --- a/dockerfiles/ocaml-5.2.0.Dockerfile +++ b/dockerfiles/ocaml-5.2.0.Dockerfile @@ -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