load-file: accept empty file or final comment, return nil
[jackhill/mal.git] / crystal / Dockerfile
CommitLineData
e10ceff5 1FROM ubuntu:18.04
fc4c7889
JM
2MAINTAINER Joel Martin <github@martintribe.org>
3
4##########################################################
5# General requirements for testing or common across many
6# implementations
7##########################################################
8
9RUN apt-get -y update
10
11# Required for running tests
12RUN apt-get -y install make python
13
14# Some typical implementation and test requirements
15RUN apt-get -y install curl libreadline-dev libedit-dev
16
17RUN mkdir -p /mal
18WORKDIR /mal
19
20##########################################################
21# Specific implementation requirements
22##########################################################
23
24# Install g++ for any C/C++ based implementations
25RUN apt-get -y install g++
26
27# Crystal
e10ceff5 28RUN apt-get -y install apt-transport-https gnupg
fc4c7889
JM
29RUN curl http://dist.crystal-lang.org/apt/setup.sh | bash
30RUN apt-get -y install crystal