-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (25 loc) · 673 Bytes
/
Copy pathDockerfile
File metadata and controls
31 lines (25 loc) · 673 Bytes
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
FROM resin/rpi-raspbian
MAINTAINER Evan Salter <evanearlsalter@gmail.com>
RUN apt-get update && apt-get install -y \
git \
build-essential \
autoconf \
automake \
libtool \
libdaemon-dev \
libasound2-dev \
libpopt-dev \
libconfig-dev \
avahi-daemon \
libavahi-client-dev \
libssl-dev
RUN git clone https://github.com/mikebrady/shairport-sync.git
WORKDIR shairport-sync
RUN autoreconf -i -f
RUN ./configure --with-alsa --with-avahi --with-ssl=openssl --with-systemd --sysconfdir=/etc
RUN make
RUN make install
RUN sed -i 's/rlimit-nproc=3//' /etc/avahi/avahi-daemon.conf
COPY start.sh /start.sh
RUN chmod +x /start.sh
CMD /start.sh