mirror of
https://github.com/kanaka/mal.git
synced 2024-09-21 18:48:12 +03:00
976547740f
Also, fix Crystal dockerfile build.
31 lines
868 B
Docker
31 lines
868 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
|
|
##########################################################
|
|
|
|
# Install g++ for any C/C++ based implementations
|
|
RUN apt-get -y install g++
|
|
|
|
# Crystal
|
|
RUN apt-get -y install apt-transport-https
|
|
RUN curl http://dist.crystal-lang.org/apt/setup.sh | bash
|
|
RUN apt-get -y install crystal
|