1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-24 07:48:38 +00:00

update shairplay

This commit is contained in:
kev 2017-10-01 14:56:07 +08:00
parent 201e014e16
commit 29a046a427
2 changed files with 21 additions and 1 deletions

@ -6,7 +6,8 @@ FROM easypi/alpine-arm
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache autoconf \
&& apk add --no-cache alsa-utils \
autoconf \
automake \
avahi-dev \
build-base \

@ -18,5 +18,24 @@ shairplay:
restart: unless-stopped
```
## Quick Start
On MacOSX: click 🔉 to show a list of output devices, then click `EasyPi` to connect.
```bash
# Enable Audio
$ grep audio /boot/config.txt
dtparam=audio=on
# Start Container
$ docker-compose up -d
# Control Volume
$ docker-compose exec shairplay alsamixer
>>> Press ↑ to volume up
>>> Press ↓ to volume down
>>> Press ESC to quit
```
[1]: https://github.com/juhovh/shairplay
[2]: https://github.com/abrasive/shairport