FROM ubuntu:20.04 MAINTAINER Joel Martin ########################################################## # General requirements for testing or common across many # implementations ########################################################## RUN apt-get -y update # Required for running tests RUN apt-get -y install make python3 RUN ln -fs /usr/bin/python3 /usr/local/bin/python RUN mkdir -p /mal WORKDIR /mal ########################################################## # Specific implementation requirements ########################################################## RUN apt-get -y install curl libreadline-dev libedit-dev # # Clojure (Java and lein) # RUN apt-get -y install leiningen ENV LEIN_HOME /mal/.lein ENV LEIN_JVM_OPTS -Duser.home=/mal # # ClojureScript (Node and Lumo) # # For building node modules RUN apt-get -y install g++ # Add nodesource apt repo config for 10.x stable RUN apt-get -y install gnupg RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - # Install nodejs RUN apt-get -y install nodejs ENV NPM_CONFIG_CACHE /mal/.npm ## Install ffi and lumo-cljs modules globally #RUN npm install -g ffi lumo-cljs ENV HOME=/mal