forked from sweisgerber/docker-mopidy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.debian
65 lines (61 loc) · 1.91 KB
/
Dockerfile.debian
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
FROM ghcr.io/linuxserver/baseimage-debian:bullseye
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="sweisgerber"
# environment settings
ARG DEBIAN_FRONTEND="noninteractive"
#
# Official Mopidy install for Debian/Ubuntu along with some extensions #################################################
#
RUN set -ex \
echo "**** install runtime packages ****" \
&& apt-get update \
&& apt-get install -y \
alsa-utils \
sudo \
gstreamer1.0-alsa \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-ugly \
python3 \
python3-pip \
&& mkdir -p /etc/apt/keyrings/ \
&& curl -L https://apt.mopidy.com/mopidy.gpg -o /etc/apt/keyrings/mopidy-archive-keyring.gpg \
&& curl -L https://apt.mopidy.com/mopidy.list -o /etc/apt/sources.list.d/mopidy.list \
&& apt-get update \
&& apt-get install -y \
mopidy \
mopidy-mpd \
mopidy-spotify \
&& pip install --no-cache-dir --upgrade pip wheel \
&& pip install --no-cache-dir --upgrade \
Mopidy-Bandcamp \
Mopidy-Iris \
Mopidy-Jellyfin \
Mopidy-Local \
Mopidy-Podcast \
Mopidy-Scrobbler \
Mopidy-SomaFM \
Mopidy-Subidy \
&& echo "**** cleanup ****" \
&& apt-get -y autoremove \
&& apt-get clean \
&& rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/* \
/var/log/* \
/usr/share/man
# ^ Official Mopidy install for Debian/Ubuntu along with some extensions ^
# (see https://docs.mopidy.com/en/latest/installation/debian/)
#
# copy defaults & s6-overlay stuff
COPY root/ /
# ports ###########################################################################################
# mopidy-http default port
EXPOSE 6680
# mpd plugin default port
EXPOSE 6600
# volumes #########################################################################################
VOLUME /config /music /data