forked from sweisgerber/docker-snapcast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
37 lines (32 loc) · 863 Bytes
/
Dockerfile
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
32
33
34
35
36
37
FROM ghcr.io/linuxserver/baseimage-alpine:edge
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="sweisgerber"
RUN set -ex \
echo "**** setup apk testing mirror ****" \
&& echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& cat /etc/apk/repositories \
&& echo "**** install runtime packages ****" \
&& apk add --no-cache -U --upgrade \
alsa-utils \
librespot@testing \
shairport-sync@testing \
snapcast \
&& echo "**** cleanup ****" \
&& rm -rf \
/tmp/*
# apk add alsa-utils alsa-lib alsaconf alsa-ucm-conf
# environment settings
ENV \
START_SNAPCLIENT=false \
SNAPCLIENT_OPTS="" \
SNAPSERVER_OPTS=""
# copy local files
COPY root/ /
# ports and volumes
EXPOSE 1704
EXPOSE 1780
#
VOLUME /config /data