1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-11 21:57:38 +03:00
mal/impls/miniMAL/Dockerfile

31 lines
909 B
Docker
Raw Permalink Normal View History

FROM ubuntu:24.04
2015-10-06 21:28:11 +03:00
MAINTAINER Joel Martin <github@martintribe.org>
LABEL org.opencontainers.image.source=https://github.com/kanaka/mal
LABEL org.opencontainers.image.description="mal test container: miniMAL"
2015-10-06 21:28:11 +03:00
##########################################################
# 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
2015-10-06 21:28:11 +03:00
RUN mkdir -p /mal
WORKDIR /mal
##########################################################
# Specific implementation requirements
##########################################################
# For building node modules
RUN apt-get -y install g++ libreadline-dev nodejs npm
2015-10-06 21:28:11 +03:00
ENV NPM_CONFIG_CACHE /mal/.npm
# install miniMAL itself
RUN npm install -g minimal-lisp@1.2.2