Skip to content

Commit

Permalink
ocaml: update to ubunut:24.04 to fix build error
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kanaka committed Aug 5, 2024
1 parent 2533a73 commit 470b840
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions impls/ocaml/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:xenial
FROM ubuntu:24.04
MAINTAINER Joel Martin <github@martintribe.org>

##########################################################
Expand All @@ -9,7 +9,8 @@ MAINTAINER Joel Martin <github@martintribe.org>
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
Expand Down

0 comments on commit 470b840

Please sign in to comment.