Send mail when pull request things happen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
770 B

FROM alpine:latest
MAINTAINER Bandie <bandie@chaospott.de>
RUN apk add --no-cache php nginx php-fpm php-json msmtp tzdata
RUN adduser -D -g 'www' www
RUN mkdir /www
COPY ./www/* /www/
RUN chown -R www:www /var/lib/nginx
RUN chown -R www:www /www
COPY configs/nginx.conf /etc/nginx/nginx.conf
RUN rm -f /etc/nginx/conf.d/*
COPY configs/envs/php7.sh /etc/profile.d/php7.sh
RUN chown www:www /var/log/php7
RUN chown www:www /var/lib/nginx/logs/
RUN cp /usr/share/zoneinfo/UTC /etc/localtime
RUN echo "UTC" > /etc/timezone
RUN sed -i "s|;*date.timezone =.*|date.timezone = UTC|i" /etc/php7/php.ini
COPY configs/msmtprc /etc/msmtprc
COPY configs/aliases /etc/aliases
COPY configs/hosts /etc/hosts_append
COPY start.sh /start.sh
RUN chmod +x /start.sh
CMD /start.sh