1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00

add shairplay-arm

This commit is contained in:
kev 2017-08-13 18:15:26 +08:00
parent d4a4c0a9b3
commit e0103d0547
4 changed files with 54 additions and 0 deletions

@ -121,6 +121,7 @@ A collection of delicious docker recipes.
- [x] red5-arm :construction:
- [x] rtmp-client-arm :+1:
- [x] rtmp-server
- [x] shairplay-arm
- [x] shoutcast
- [x] tesseract
- [x] vnc2flv

39
shairplay-arm/Dockerfile Normal file

@ -0,0 +1,39 @@
#
# Dockerfile for shairplay-arm
#
FROM easypi/alpine-arm
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache autoconf \
automake \
avahi-dev \
build-base \
curl \
dbus \
libao \
libao-dev \
libltdl \
libtool \
&& curl -sSL https://github.com/juhovh/shairplay/archive/master.tar.gz | tar xz \
&& cd shairplay-master \
&& ./autogen.sh \
&& ./configure \
&& make install \
&& cp airport.key /airport.key \
&& cd .. \
&& rm -rf shairplay-master \
&& apk del autoconf \
automake \
build-base \
curl \
libao-dev
ENV APNAME EasyPi
CMD set -xe \
&& rm -f /var/run/dbus.pid \
&& dbus-daemon --system \
&& avahi-daemon -D \
&& shairplay --apname="$APNAME"

8
shairplay-arm/README.md Normal file

@ -0,0 +1,8 @@
shairplay
=========
[Shairplay][1] is a free portable AirPlay server implementation similar to [ShairPort][2].
Currently only AirPort Express emulation is supported.
[1]: https://github.com/juhovh/shairplay
[2]: https://github.com/abrasive/shairport

@ -0,0 +1,6 @@
shairplay:
image: easypi/shairplay-arm
devices:
- /dev/snd
net: host
restart: unless-stopped