docker-tautulli/Dockerfile.aarch64
2020-11-02 07:04:36 -08:00

52 lines
1.2 KiB
Docker
Raw Permalink 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 ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.12
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="nemchik,thelamer"
# Inform app this is a docker env
ENV TAUTULLI_DOCKER=True
RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
g++ \
gcc \
make \
py3-pip \
python3-dev && \
echo "**** install packages ****" && \
apk add --no-cache \
git \
py3-openssl \
py3-setuptools \
python3 && \
echo "**** install pip packages ****" && \
pip3 install --no-cache-dir -U \
mock \
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 "${VERSION}" > /app/tautulli/version.txt && \
echo "nightly" > /app/tautulli/branch.txt && \
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