forked from supercollider/sc-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
49 lines (43 loc) · 1.11 KB
/
Dockerfile
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
FROM debian:bookworm
ARG MAKE_JOBS=2
WORKDIR /root
RUN apt-get update && \
apt-get install --yes \
git \
build-essential \
cmake \
libjack-jackd2-dev \
libsndfile1-dev \
libfftw3-dev \
libxt-dev \
libavahi-client-dev \
libasound2-dev \
libudev-dev \
sed
ENV SC_BRANCH=develop
RUN git clone \
--depth 1 \
--branch $SC_BRANCH \
--recurse-submodules \
https://github.com/SuperCollider/SuperCollider.git && \
cd SuperCollider && \
mkdir -p /root/SuperCollider/build && \
cd /root/SuperCollider/build && \
cmake \
-DCMAKE_BUILD_TYPE=Debug \
-DSUPERNOVA=OFF \
-DSC_ED=OFF \
-DSC_EL=OFF \
-DSC_VIM=ON \
-DNATIVE=ON \
-DSC_IDE=OFF \
-DNO_X11=ON \
-DSC_ABLETON_LINK=OFF \
-DSC_QT=OFF .. && \
cmake --build . --config Debug --target all -j${MAKE_JOBS} && \
cmake --build . --config Debug --target install -j${MAKE_JOBS} && \
rm -rf /root/SuperCollider
COPY custom.css .
COPY robots.txt .
COPY build_docs.scd .
COPY build_docs.sh .