new file: Dockerfile

new file:   Jenkinsfile
	new file:   UTC
	new file:   start.sh
This commit is contained in:
Jonathan Ervine
2020-07-09 22:51:25 +08:00
parent c1287d9e45
commit 060913c6ae
4 changed files with 62 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
# 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
# Create mediaservice user
ENV LANG='en_US.UTF-8' \
LANGUAGE='en_US.UTF-8' \
TERM='xterm'
RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \
apk update && \
apk -U upgrade && \
apk -U add \
python git py-pillow
ADD UTC /etc/localtime
RUN git clone https://github.com/Hellowlol/HTPC-Manager && \
rm -rf /var/cache/apk/*
COPY start.sh /usr/local/bin/start.sh
EXPOSE 8085
CMD [ "/usr/local/bin/start.sh" ]