Sign inSign up

matrixanger/bucklescript

By matrixanger

Updated over 8 years ago

Bucklescript with OCaml 4.06.0

Image
0

330

matrixanger/bucklescript repository overview

The key is to use 6.x version nodejs.

FROM ocaml/opam:debian

USER root

# Install OCaml toolchain
RUN opam update && \
  opam switch 4.06.0 && \
  echo "eval `opam config env`" > /etc/profile.d/opam.sh && \
  rm -rf /home/opam/opam-repository

# Install Nodejs toolchain
RUN (curl -sL https://deb.nodesource.com/setup_6.x | bash -) && \
  apt-get install -y nodejs --no-install-recommends && \
  apt-get clean && \
  rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*

RUN npm install -g [email protected]

Tag summary

Content type

Image

Digest

Size

709.6 MB

Last updated

over 8 years ago

docker pull matrixanger/bucklescript