2015-10-06 20:48:22 +03:00
|
|
|
FROM ubuntu:vivid
|
|
|
|
MAINTAINER Joel Martin <github@martintribe.org>
|
|
|
|
|
|
|
|
##########################################################
|
|
|
|
# General requirements for testing or common across many
|
|
|
|
# implementations
|
|
|
|
##########################################################
|
|
|
|
|
|
|
|
RUN apt-get -y update
|
|
|
|
|
|
|
|
# Required for running tests
|
|
|
|
RUN apt-get -y install make python
|
|
|
|
|
|
|
|
# Some typical implementation and test requirements
|
|
|
|
RUN apt-get -y install curl libreadline-dev libedit-dev
|
|
|
|
|
|
|
|
RUN mkdir -p /mal
|
|
|
|
WORKDIR /mal
|
|
|
|
|
|
|
|
##########################################################
|
|
|
|
# Specific implementation requirements
|
|
|
|
##########################################################
|
|
|
|
|
|
|
|
# Lua
|
|
|
|
RUN apt-get -y install lua5.1 lua-rex-pcre luarocks
|
|
|
|
RUN luarocks install linenoise
|
2015-11-23 19:41:54 +03:00
|
|
|
RUN luarocks install luasocket
|
2015-10-06 20:48:22 +03:00
|
|
|
|
|
|
|
# luarocks .cache directory is relative to HOME
|
|
|
|
ENV HOME /mal
|