mirror of
https://github.com/kanaka/mal.git
synced 2024-08-17 17:50:24 +03:00
Explictly select python 3. The `python2` and `python` packages will be removed from Ubuntu. Until each call site is fixed, install a /usr/local/bin/python symbolic link as a non-intrusive work-around (.deb packages do not interfer with /usr/local). Add an explicit maintainer for bbc-basic. Undo some cosmetic changes in order to reduce the global diff, this merge request will probably be sqashed before acceptance. Move lib{readline,edit}-dev out of the generic part. Use existing .deb packages for GHDL and vim.
31 lines
909 B
Docker
31 lines
909 B
Docker
FROM ubuntu:24.04
|
|
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"
|
|
|
|
##########################################################
|
|
# 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
|
|
##########################################################
|
|
|
|
# For building node modules
|
|
RUN apt-get -y install g++ libreadline-dev nodejs npm
|
|
|
|
ENV NPM_CONFIG_CACHE /mal/.npm
|
|
|
|
# install miniMAL itself
|
|
RUN npm install -g minimal-lisp@1.2.2
|