1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00

update Dockerfile

This commit is contained in:
kev 2016-07-19 07:34:26 +08:00
parent 304a8d49d4
commit e523b173ef
4 changed files with 6 additions and 9 deletions

View File

@ -1,5 +1,5 @@
jenkins:
image: jenkinsci/jenkins
image: jenkins:alpine
ports:
- "8080:8080"
- "50000:50000"

View File

@ -5,9 +5,7 @@
FROM alpine
MAINTAINER kev <noreply@easypi.info>
RUN set -xe \
&& apk add -U minidlna \
&& rm -rf /var/cache/apk/*
RUN apk add --no-cache minidlna
VOLUME /opt
WORKDIR /opt

View File

@ -5,9 +5,7 @@
FROM easypi/alpine-arm
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add -U minidlna \
&& rm -rf /var/cache/apk/*
RUN apk add --no-cache minidlna
VOLUME /opt
WORKDIR /opt
@ -15,4 +13,4 @@ WORKDIR /opt
EXPOSE 1900/udp
EXPOSE 8200/tcp
CMD ["minidlna", "-d"]
CMD ["minidlnad", "-d"]

View File

@ -19,7 +19,8 @@ RUN set -xe \
&& chmod o+r /etc/zm/zm.conf \
&& sed -i 's@^ZM_DB_HOST=.*$@ZM_DB_HOST=mysql@' /etc/zm/zm.conf \
&& sed -i 's@^;date.timezone =.*$@date.timezone = Asia/Shanghai@' /etc/php5/*/php.ini \
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo 'FCGI_CHILDREN=4' > /etc/default/fcgiwrap
COPY nginx.conf /etc/nginx/sites-available/default