Revision 756b9cdd Dockerfile

View differences:

Dockerfile
7 7
# Set /peerstreamer as working directory
8 8
WORKDIR /peerstreamer
9 9

  
10
# Create environment variable used to configure peerstreamer-ng binding iface
11
ENV PSNGIFACE eth0
12

  
13 10
# Copy required files into the container at /peerstreamer
14 11
ADD requirements.txt /peerstreamer/
15 12

  
......
17 14
ADD serf-python.tar.gz /peerstreamer/serf-python/
18 15

  
19 16
# Install required packages
20
RUN apt update && apt install -y python2.7 python-pip git
17
RUN apt update && apt install -y python2.7 python-pip git libmicrohttpd-dev \
18
        libjansson-dev libnice-dev libssl-dev libsrtp-dev libsofia-sip-ua-dev \
19
        libglib2.0-dev libopus-dev libogg-dev libcurl4-openssl-dev pkg-config \
20
        gengetopt libtool automake
21 21

  
22 22
# Install python requirements
23 23
RUN pip install -r requirements.txt
......
29 29
RUN rm -rf /peerstreamer/serf-python
30 30

  
31 31
# Build peerstreamer
32
RUN git clone -b netcommons-demo \
32
RUN git clone -b webrtp \
33 33
        https://ans.disi.unitn.it/redmine/peerstreamer-src.git \
34 34
            peerstreamer
35 35
RUN cd /peerstreamer/peerstreamer && make
......
39 39
        https://ans.disi.unitn.it/redmine/psng-pyserf.git \
40 40
            psng-pyserf
41 41

  
42
RUN apt remove -y git && apt autoremove -y
42
RUN apt remove -y git automake \
43
        && apt autoremove -y
43 44

  
44 45
# Create script for running psng-pyserf service
45 46
RUN mkdir /etc/service/psng-pyserf

Also available in: Unified diff