'update files with ansible'

This commit is contained in:
2021-03-09 09:45:30 +00:00
parent 4a01e18049
commit adc5ba63c9
2 changed files with 10 additions and 17 deletions
+7 -15
View File
@@ -1,16 +1,12 @@
# Base on latest (edge) alpine image
FROM harbor.ervine.dev/public/x86_64/alpine:v3.13
FROM harbor.ervine.dev/public/x86_64/alpine:v.3.13
LABEL maintainer="Jonathan Ervine <docker@ervine.org>"
# Install updates
ENV LANG='en_US.UTF-8' \
LANGUAGE='en_US.UTF-8' \
TERM='xterm' \
VERSION='2.6.6' \
TAUT_USER='tautulli' \
TAUT_UID=1027 \
TAUT_GID=1027
TERM='xterm'
RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \
apk update && \
@@ -20,16 +16,12 @@ RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositorie
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 && \
RUN wget https://github.com/Tautulli/Tautulli/archive/v2.6.6.tar.gz && \
tar zxvf v2.6.6.tar.gz -C / && \
mv /Tautulli-2.6.6 /Tautulli && \
rm *.tar.gz && \
rm -rf /var/cache/apk/* && \
addgroup -g $TAUT_GID $TAUT_USER && \
adduser -D -u $TAUT_UID -G $TAUT_USER -H $TAUT_USER
EXPOSE 8181
USER $TAUT_USER
addgroup -g 1027 tautulli && \
adduser -D -u 1027 -G tautulli -H tautulli
CMD [ "/usr/bin/python3", "/Tautulli/Tautulli.py", "--datadir", "/config", "--nofork", "--nolaunch" ]