2024-08-28 20:49:59 +03:00
|
|
|
FROM ubuntu:24.04
|
2016-08-09 20:25:33 +03:00
|
|
|
MAINTAINER Joel Martin <github@martintribe.org>
|
|
|
|
|
|
|
|
##########################################################
|
|
|
|
# General requirements for testing or common across many
|
|
|
|
# implementations
|
|
|
|
##########################################################
|
|
|
|
|
|
|
|
RUN apt-get -y update
|
|
|
|
|
|
|
|
# Required for running tests
|
2024-08-28 20:49:59 +03:00
|
|
|
RUN apt-get -y install make python3
|
|
|
|
RUN ln -fs /usr/bin/python3 /usr/local/bin/python
|
2016-08-09 20:25:33 +03:00
|
|
|
|
|
|
|
# Some typical implementation and test requirements
|
2024-08-28 20:49:59 +03:00
|
|
|
RUN apt-get -y install curl
|
2016-08-09 20:25:33 +03:00
|
|
|
|
|
|
|
RUN mkdir -p /mal
|
|
|
|
WORKDIR /mal
|
|
|
|
|
|
|
|
##########################################################
|
|
|
|
# Specific implementation requirements
|
|
|
|
##########################################################
|
|
|
|
|
|
|
|
# Chuck
|
|
|
|
RUN apt-get -y install bison gcc g++ flex
|
|
|
|
RUN apt-get -y install libasound2-dev libsndfile1-dev
|
2024-08-28 20:49:59 +03:00
|
|
|
RUN cd /tmp && curl -O https://chuck.cs.princeton.edu/release/files/chuck-1.5.2.5.tgz \
|
|
|
|
&& tar xvzf /tmp/chuck-1.5.2.5.tgz && cd chuck-1.5.2.5/src \
|
2016-08-09 20:25:33 +03:00
|
|
|
&& make linux-alsa && make install \
|
2024-08-28 20:49:59 +03:00
|
|
|
&& rm -r /tmp/chuck-1.5.2.5*
|
|
|
|
RUN cd /tmp && curl -Lo chugins-chuck-1.5.2.5.tgz https://github.com/ccrma/chugins/archive/refs/tags/chuck-1.5.2.5.tar.gz \
|
|
|
|
&& tar xvzf /tmp/chugins-chuck-1.5.2.5.tgz && cd chugins-chuck-1.5.2.5/RegEx \
|
|
|
|
&& make linux && mkdir -p /usr/local/lib/chuck/1.5.2.5 \
|
|
|
|
&& cp RegEx.chug /usr/local/lib/chuck/1.5.2.5/RegEx.chug \
|
|
|
|
&& rm -r /tmp/chugins-chuck-1.5.2.5*
|
2016-08-09 20:25:33 +03:00
|
|
|
|
|
|
|
ENV HOME /mal
|