docker-tautulli/Dockerfile
2019-12-19 19:15:49 -08:00

48 lines
1.1 KiB
Docker
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

FROM lsiobase/python:3.11
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="sparklyballs,thelamer"
# Inform app this is a docker env
ENV TAUTULLI_DOCKER=True
RUN \
echo "**** install packages ****" && \
apk add --no-cache --virtual=build-dependencies \
g++ \
gcc \
make \
python-dev && \
apk add --no-cache \
git \
jq && \
echo "**** install pip packages ****" && \
pip install --no-cache-dir -U \
plexapi \
pycryptodomex && \
echo "**** install app ****" && \
mkdir -p /app/tautulli && \
git clone https://github.com/Tautulli/Tautulli.git /app/tautulli && \
cd /app/tautulli && \
git checkout nightly && \
echo "**** Hard Coding versioning ****" && \
echo "None" > /app/tautulli/version.txt && \
echo "None" > /app/tautulli/version.lock && \
echo nightly > /app/tautulli/release.lock && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
rm -rf \
/root/.cache \
/tmp/*
# add local files
COPY root/ /
# ports and volumes
VOLUME /config /logs
EXPOSE 8181