Travis: comment out rust until fixed.
[jackhill/mal.git] / rust / Dockerfile
1 FROM ubuntu:vivid
2 MAINTAINER Joel Martin <github@martintribe.org>
3
4 ##########################################################
5 # General requirements for testing or common across many
6 # implementations
7 ##########################################################
8
9 RUN apt-get -y update
10
11 # Required for running tests
12 RUN apt-get -y install make python
13
14 # Some typical implementation and test requirements
15 RUN apt-get -y install curl libreadline-dev libedit-dev
16
17 RUN mkdir -p /mal
18 WORKDIR /mal
19
20 ##########################################################
21 # Specific implementation requirements
22 ##########################################################
23
24 # Install g++ for any C/C++ based implementations
25 RUN apt-get -y install g++
26
27 RUN apt-get -y install pkg-config
28
29 # rust install script requirements
30 RUN apt-get -y install git sudo
31
32 #RUN rm -f /dev/tty && mknod -m 666 /dev/tty c 5 0
33 RUN curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh > /tmp/blastoff.sh && chmod +x /tmp/blastoff.sh && /tmp/blastoff.sh --yes && rm /tmp/blastoff.sh
34
35 RUN multirust default stable
36
37 ENV MULTIRUST_HOME /mal