Addition of Jellyfin

This commit is contained in:
Alexandre
2020-11-29 20:13:05 +01:00
parent 407f9ab129
commit e56b49ed89
10 changed files with 286 additions and 0 deletions

33
jellyfin/Dockerfile Normal file
View File

@@ -0,0 +1,33 @@
ARG BUILD_FROM
# hadolint ignore=DL3006
FROM $BUILD_FROM
# Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN apt-get update \
\
&& apt-get install -y --no-install-recommends \
jq=1.5+dfsg-2 \
\
&& apt-get -y upgrade cifs-utils \
&& curl -J -L -o /tmp/bashio.tar.gz \
"https://github.com/hassio-addons/bashio/archive/v0.7.1.tar.gz" \
&& mkdir /tmp/bashio \
&& tar zxvf \
/tmp/bashio.tar.gz \
--strip 1 -C /tmp/bashio \
\
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -fr \
/tmp/* \
/var/{cache,log}/* \
/var/lib/apt/lists/*
# copy local files
COPY root/ /
RUN sed -i "s|/config|/jellyfin|g" /etc/services.d/jellyfin/run \
&& sed -i "s|/config|/jellyfin|g" /etc/cont-init.d/30-config