new file: Dockerfile

new file:   Jenkinsfile
	new file:   UTC
Initial commit
This commit is contained in:
2020-02-18 09:15:51 +00:00
parent 21dd6ca1e7
commit d8ea337b33
3 changed files with 54 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
# Base on latest (edge) alpine image
FROM harbor.ervine.dev/library/x86_64/alpine/alpine-3.11
MAINTAINER “Jonathan Ervine” <docker@ervine.org>
# Install updates
ENV LANG='en_US.UTF-8' \
LANGUAGE='en_US.UTF-8' \
TERM='xterm' \
VERSION='2.1.44' \
HTPC_USER='mediaservice' \
HTPC_GROUP='mediaservice' \
HTPC_UID='1003' \
HTPC_GID='1003'
RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \
apk update && \
apk -U upgrade && \
apk -U add \
python git py-setuptools
ADD UTC /etc/localtime
#RUN git clone https://github.com/Tautulli/Tautulli && \
RUN wget https://github.com/Tautulli/Tautulli/archive/v$VERSION.tar.gz && \
tar zxvf v$VERSION.tar.gz -C / && \
mv /Tautulli-$VERSION /Tautulli && \
rm *.tar.gz && \
rm -rf /var/cache/apk/* && \
addgroup -g $HTPC_GID $HTPC_GROUP && \
adduser -D -u $HTPC_UID -G $HTPC_GROUP -H $HTPC_USER
EXPOSE 8181
USER $HTPC_USER
CMD [ "/usr/bin/python", "/Tautulli/Tautulli.py", "--datadir", "/config", "--nofork", "--nolaunch" ]