mirror of
https://github.com/kanaka/mal.git
synced 2024-11-13 01:43:50 +03:00
14678c3c9a
- Update docker image from rakudo 2016-04 to 2016-07
35 lines
1.0 KiB
Docker
35 lines
1.0 KiB
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
|
|
##########################################################
|
|
|
|
# Perl6 build deps
|
|
RUN apt-get -y install libfile-copy-recursive-perl build-essential git
|
|
|
|
RUN curl -O http://rakudo.org/downloads/star/rakudo-star-2016.07.tar.gz && \
|
|
tar xzf rakudo-star-2016.07.tar.gz && \
|
|
cd rakudo-star-2016.07 && \
|
|
perl Configure.pl --prefix=/usr --gen-moar --gen-nqp --backends=moar && \
|
|
make && \
|
|
make install && \
|
|
cd .. && \
|
|
rm -rf rakudo-star-2016.07*
|