-
Notifications
You must be signed in to change notification settings - Fork 0
/
rack.dockerfile
64 lines (33 loc) · 1.22 KB
/
rack.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
50
51
52
53
54
55
56
57
58
59
60
61
# Build a standalone rack with plugins to use with host X server
# rather than VNC
from ubuntu:18.04 as rackinit
copy --from=vcv-docker_vcv /*.zip /
run apt -y update
run apt install -y unzip libgl1
workdir /
workdir /root
run mv /Rack-1.1.6-lin.zip /root
run unzip Rack-1.1.6-lin.zip
workdir /root/.Rack/plugins-v1
run mv /*.zip .
from ubuntu:18.04 as xrack
copy --from=rackinit /root /root
run apt -y update
run apt install -y --no-install-recommends libgl1 libasound2 \
libjack-jackd2-0 libgtk2.0-0 wget sox ca-certificates
workdir /
run env DEBIAN_FRONTEND=noninteractive apt install -y apt-transport-https gpgv alsa-utils
run wget https://launchpad.net/~kxstudio-debian/+archive/kxstudio/+files/kxstudio-repos_10.0.3_all.deb
run dpkg -i kxstudio-repos_10.0.3_all.deb
run apt -y update
run apt install -y carla zynaddsubfx hydrogen-data hydrogen-drumkits vim
workdir /tmp
run wget https://musical-artifacts.com/artifacts/133/drumkits.tar.bz2
workdir /usr/share/hydrogen/data
run tar xjvf /tmp/drumkits.tar.bz2
run rm /tmp/drumkits.tar.bz2
run for f in $(find . -name '*.flac' ; find . -name '*.aiff') ; do (sox "$f" "$f.wav" || true) ; done
from scratch
copy --from=xrack / /
workdir /root/Rack
cmd "./Rack"