2024-08-03 01:47:24 +03:00
|
|
|
FROM ubuntu:24.04
|
2015-10-06 21:28:11 +03:00
|
|
|
MAINTAINER Joel Martin <github@martintribe.org>
|
2024-08-03 01:47:24 +03:00
|
|
|
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
|
2024-08-03 01:47:24 +03:00
|
|
|
RUN apt-get -y install make python3
|
2022-02-01 20:40:35 +03:00
|
|
|
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
|
2021-08-26 18:07:19 +03:00
|
|
|
RUN apt-get -y install g++ libreadline-dev nodejs npm
|
2015-10-06 21:28:11 +03:00
|
|
|
|
|
|
|
ENV NPM_CONFIG_CACHE /mal/.npm
|
|
|
|
|
2021-08-26 18:07:19 +03:00
|
|
|
# install miniMAL itself
|
2024-08-03 01:47:24 +03:00
|
|
|
RUN npm install -g minimal-lisp@1.2.2
|