From c94b7d5ec100cc52f67a221bf9bd5e603d501e7b Mon Sep 17 00:00:00 2001 From: kev Date: Tue, 23 Aug 2016 20:18:02 +0800 Subject: [PATCH] update mpd --- mosquitto/Dockerfile | 4 +--- mpd/arm/Dockerfile.debian | 17 +++++++++++++++++ mpd/arm/mpd.conf | 2 +- mpd/mpd.conf | 2 +- 4 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 mpd/arm/Dockerfile.debian diff --git a/mosquitto/Dockerfile b/mosquitto/Dockerfile index 155c158..2706d58 100644 --- a/mosquitto/Dockerfile +++ b/mosquitto/Dockerfile @@ -5,9 +5,7 @@ FROM alpine MAINTAINER kev -RUN set -x \ - && apk add -U mosquitto \ - && rm -rf /var/cache/apk/* +RUN apk add --no-cache mosquitto VOLUME /etc/mosquitto EXPOSE 1883 diff --git a/mpd/arm/Dockerfile.debian b/mpd/arm/Dockerfile.debian new file mode 100644 index 0000000..969f402 --- /dev/null +++ b/mpd/arm/Dockerfile.debian @@ -0,0 +1,17 @@ +# +# Dockerfile for mpd-arm +# + +FROM armhf/debian:jessie +MAINTAINER EasyPi Software Foundation + +RUN set -xe \ + && apt-get update \ + && apt-get install -y mpd mpc \ + && rm -rf /var/lib/apt/lists/* + +COPY mpd.conf /etc/mpd.conf +VOLUME /var/lib/mpd + +EXPOSE 6600 +CMD ["mpd", "--stdout", "--no-daemon"] diff --git a/mpd/arm/mpd.conf b/mpd/arm/mpd.conf index 3d57cb5..d63dbd8 100644 --- a/mpd/arm/mpd.conf +++ b/mpd/arm/mpd.conf @@ -16,7 +16,7 @@ input { audio_output { type "alsa" - name "Default Audio Device" + name "My ALSA Device" mixer_type "software" } diff --git a/mpd/mpd.conf b/mpd/mpd.conf index 3d57cb5..d63dbd8 100644 --- a/mpd/mpd.conf +++ b/mpd/mpd.conf @@ -16,7 +16,7 @@ input { audio_output { type "alsa" - name "Default Audio Device" + name "My ALSA Device" mixer_type "software" }