-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
51 lines (43 loc) · 1.28 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
50
51
FROM ubuntu:trusty
MAINTAINER Benjamin Henrion <zoobab@gmail.com>
RUN DEBIAN_FRONTEND=noninteractive apt-get update -y -q
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -q --force-yes uuid-dev build-essential git-core libtool autotools-dev autoconf automake pkg-config unzip libkrb5-dev cmake libasound2-dev
RUN useradd -d /home/zmq -m -s /bin/bash zmq
RUN echo "zmq ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/zmq
RUN chmod 0440 /etc/sudoers.d/zmq
USER zmq
WORKDIR /home/zmq
RUN git clone https://github.com/zeromq/libzmq.git
WORKDIR /home/zmq/libzmq
RUN ./autogen.sh
RUN ./configure --without-docs
RUN make
RUN sudo make install
RUN sudo ldconfig
WORKDIR /home/zmq
RUN git clone https://github.com/zeromq/czmq.git
WORKDIR /home/zmq/czmq
RUN ./autogen.sh
RUN ./configure --without-docs
RUN make
RUN sudo make install
RUN sudo ldconfig
WORKDIR /home/zmq
RUN git clone https://github.com/zeromq/zyre.git
WORKDIR /home/zmq/zyre
RUN ./autogen.sh
RUN ./configure --without-docs
RUN make
RUN sudo make install
RUN sudo ldconfig
WORKDIR /home/zmq
RUN git clone https://github.com/ZyreApps/DeMidi.git
WORKDIR /home/zmq/DeMidi
RUN ./autogen.sh
RUN ./configure --without-docs
RUN make
RUN sudo make install
RUN sudo ldconfig
# check that midigrab and midicast are installed
RUN type midigrab
RUN type midicast