2024-08-21 19:25:19 +03:00
|
|
|
FROM ubuntu:24.04
|
2015-10-06 20:48:22 +03:00
|
|
|
MAINTAINER Joel Martin <github@martintribe.org>
|
|
|
|
|
|
|
|
##########################################################
|
|
|
|
# General requirements for testing or common across many
|
|
|
|
# implementations
|
|
|
|
##########################################################
|
|
|
|
|
|
|
|
RUN apt-get -y update
|
|
|
|
|
|
|
|
# Required for running tests
|
2024-08-21 19:25:19 +03:00
|
|
|
RUN apt-get -y install make python3
|
|
|
|
RUN ln -fs /usr/bin/python3 /usr/local/bin/python
|
2015-10-06 20:48:22 +03:00
|
|
|
|
|
|
|
RUN mkdir -p /mal
|
|
|
|
WORKDIR /mal
|
|
|
|
|
|
|
|
##########################################################
|
|
|
|
# Specific implementation requirements
|
|
|
|
##########################################################
|
|
|
|
|
2024-08-21 19:25:19 +03:00
|
|
|
# luarocks 3.8.0+dfsg1-1 only supports 5.1 5.2 5.3,
|
|
|
|
# and its dependencies default on 5.1 if no version is available.
|
|
|
|
# Explicitly install the desired version before luarocks.
|
|
|
|
RUN apt-get -y install liblua5.3-dev lua5.3
|
|
|
|
|
|
|
|
RUN apt-get -y install gcc libpcre3-dev luarocks
|
2015-10-06 20:48:22 +03:00
|
|
|
|
|
|
|
# luarocks .cache directory is relative to HOME
|
|
|
|
ENV HOME /mal
|