summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: f4f01f72d92cf3eb8818544e699c767517e3e876 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
FROM ubuntu:14.04

MAINTAINER Damien Zammit <damien@zamaudio.com>

ENV PATH=$PATH:/opt/mingw64/bin:/opt/local/bin

WORKDIR ~/

RUN apt-get update -qq -y && apt-get install python-software-properties -y
RUN apt-get install software-properties-common -y && add-apt-repository ppa:kxstudio-debian/mingw -y && add-apt-repository ppa:ubuntu-toolchain-r/test -y && apt-get update -qq -y
RUN apt-get install wget -y

RUN wget -c https://launchpad.net/~flosoft/+archive/ubuntu/cross-apple/+files/apple-uni-sdk-10.5_20110407-0.flosoft1_amd64.deb --no-check-certificate

RUN wget http://zamaudio.com/mbox2/apple-macports-fftw-3_3.3.5-1_all.deb
RUN wget http://zamaudio.com/mbox2/apple-macports-libiconv_1.14-0_all.deb
RUN wget http://zamaudio.com/mbox2/apple-macports-liblo_0.26-1_all.deb
RUN wget http://zamaudio.com/mbox2/apple-macports-libogg_1.3.0-1_all.deb
RUN wget http://zamaudio.com/mbox2/apple-macports-libsamplerate_0.1.9-1_all.deb
RUN wget http://zamaudio.com/mbox2/apple-macports-libsndfile_1.0.25-0_all.deb
RUN wget http://zamaudio.com/mbox2/apple-macports-libvorbis_1.3.3-0_all.deb
RUN wget http://zamaudio.com/mbox2/apple-x86-gcc_4.2.1~5646-1kxstudio2_amd64.deb
RUN wget http://zamaudio.com/mbox2/apple-x86-odcctools_758.159-0kxstudio2_amd64.deb 
RUN wget http://zamaudio.com/mbox2/apple-x86-setup_2_amd64.deb
RUN wget http://zamaudio.com/mbox2/apple-macports-flac_1.2.1-1_all.deb

# Apple cross compiler && build deps
RUN dpkg -i apple-x86-odcctools_758.159-0kxstudio2_amd64.deb && \
	dpkg -i apple-x86-gcc_4.2.1~5646-1kxstudio2_amd64.deb && \
	dpkg -i apple-uni-sdk-10.5_20110407-0.flosoft1_amd64.deb && \
	dpkg -i apple-x86-setup_2_amd64.deb && \
	dpkg -i apple-macports-liblo_0.26-1_all.deb && \
	dpkg -i apple-macports-fftw-3_3.3.5-1_all.deb && \
	dpkg -i apple-macports-libiconv_1.14-0_all.deb && \
	dpkg -i apple-macports-libogg_1.3.0-1_all.deb && \
	dpkg -i apple-macports-libvorbis_1.3.3-0_all.deb && \
	dpkg -i apple-macports-flac_1.2.1-1_all.deb && \
	dpkg -i apple-macports-libsndfile_1.0.25-0_all.deb && \
	dpkg -i apple-macports-libsamplerate_0.1.9-1_all.deb

# Windows cross-compiler && build deps
RUN apt-get install -y \
	mingw64-x-gcc \
	mingw64-x-binutils \
	mingw64-x-pkgconfig \
	mingw64-x-liblo \
	mingw64-x-libsndfile
#libsamplerate and fftw3f

RUN wget http://zamaudio.com/mbox2/mingw64-x-fftw-3_3.3.5-1_all.deb
RUN dpkg -i mingw64-x-fftw-3_3.3.5-1_all.deb
RUN wget http://zamaudio.com/mbox2/mingw64-x-libsamplerate_0.1.9-1_all.deb
RUN dpkg -i mingw64-x-libsamplerate_0.1.9-1_all.deb
RUN wget http://zamaudio.com/mbox2/mingw64-x-pthread_0.0.1-3_all.deb
RUN dpkg -i mingw64-x-pthread_0.0.1-3_all.deb

# GNU/Linux compiler && build deps
RUN apt-get install -y \
	g++-4.8 \
	binutils \
	pkg-config \
	libx11-dev \
	libgl1-mesa-dev \
	liblo-dev \
	fftw3-dev \
	libsndfile-dev \
	libsamplerate0-dev \
	ladspa-sdk \
	libpthread-stubs0-dev

RUN apt-get install -y make zip

CMD []