mirror of
https://github.com/kanaka/mal.git
synced 2024-11-10 12:47:45 +03:00
31 lines
831 B
Docker
31 lines
831 B
Docker
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
|
|
RUN luarocks install luasocket
|
|
|
|
# luarocks .cache directory is relative to HOME
|
|
ENV HOME /mal
|