modified: Jenkinsfile new file: start.sh Updated to use environment variables rather than hardcoding
32 lines
800 B
Docker
32 lines
800 B
Docker
# 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.2.4'
|
|
|
|
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/*
|
|
|
|
COPY start.sh /usr/local/bin/start.sh
|
|
|
|
EXPOSE 8181
|
|
|
|
CMD [ "/usr/local/bin/start.sh" ]
|