1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/shairplay-arm/Dockerfile

43 lines
1.1 KiB
Docker
Raw Normal View History

2017-08-13 12:15:26 +02:00
#
# Dockerfile for shairplay-arm
#
FROM easypi/alpine-arm
MAINTAINER EasyPi Software Foundation
RUN set -xe \
2017-10-01 08:56:07 +02:00
&& apk add --no-cache alsa-utils \
autoconf \
2017-08-13 12:15:26 +02:00
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 \
2017-08-13 12:32:28 +02:00
&& sleep 1 \
2017-08-13 12:15:26 +02:00
&& avahi-daemon -D \
2017-08-13 12:32:28 +02:00
&& sleep 1 \
2017-08-13 12:15:26 +02:00
&& shairplay --apname="$APNAME"