From 470b840a7832e583b38cf27a860b1352d4194a49 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Mon, 5 Aug 2024 10:48:22 -0500 Subject: [PATCH] ocaml: update to ubunut:24.04 to fix build error Fixes build error that happens with older versions of ocaml: ocamlopt -a types.ml reader.ml printer.ml env.ml core.ml -o mal_lib.cmxa File "env.ml", line 15, characters 8-21: Error: Unbound value Data.find_opt --- impls/ocaml/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/impls/ocaml/Dockerfile b/impls/ocaml/Dockerfile index 2d8a83da24..4f7392ab3b 100644 --- a/impls/ocaml/Dockerfile +++ b/impls/ocaml/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:xenial +FROM ubuntu:24.04 MAINTAINER Joel Martin ########################################################## @@ -9,7 +9,8 @@ MAINTAINER Joel Martin RUN apt-get -y update # Required for running tests -RUN apt-get -y install make python +RUN apt-get -y install make python3 +RUN ln -fs /usr/bin/python3 /usr/local/bin/python # Some typical implementation and test requirements RUN apt-get -y install curl libreadline-dev libedit-dev