forked from jee-r/docker-mopidy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
executable file
·51 lines (45 loc) · 1.31 KB
/
Dockerfile
File metadata and controls
executable file
·51 lines (45 loc) · 1.31 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
FROM alpine:3.13
LABEL name="docker-mopidy" \
maintainer="Jee jee@jeer.fr" \
description="Mopidy is an extensible music server written in Python." \
url="https://mopidy.com" \
org.label-schema.vcs-url="https://github.com/jee-r/docker-mopidy"
COPY rootfs /
RUN apk update && \
apk upgrade && \
apk add --upgrade --no-cache --virtual=build-dependencies \
gcc && \
apk add --upgrade --no-cache --virtual=base \
python3 \
python3-dev \
py3-pip \
py3-gst \
py3-six\
py3-asn1 \
py3-requests \
py3-cryptography \
py3-openssl \
gstreamer \
gstreamer-tools \
gst-plugins-base \
gst-plugins-good \
gst-plugins-ugly && \
pip3 install --upgrade --no-cache-dir \
mopidy \
Mopidy-Local \
Mopidy-MPD \
#mopidy-spotify \
#git+https://github.com/sapristi/mopidy-mowecl.git \
Mopidy-Mowecl==0.4.0 \
Mopidy-Iris \
mopidy-funkwhale \
Mopidy-Jamendo \
Mopidy-Podcast \
Mopidy-YouTube && \
chmod +x /usr/local/bin/entrypoint.sh && \
apk del --purge build-dependencies && \
rm -rf /tmp/*
WORKDIR /config
EXPOSE 6600 6680 5555/udp
STOPSIGNAL SIGQUIT
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]