You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
669 B
Docker
28 lines
669 B
Docker
8 years ago
|
FROM php:5-apache
|
||
|
|
||
|
RUN apt-get update && apt-get install -y \
|
||
|
unzip
|
||
|
|
||
7 years ago
|
ENV RAINLOOP_URL https://github.com/RainLoop/rainloop-webmail/releases/download/v1.11.1/rainloop-community-1.11.1.zip
|
||
8 years ago
|
|
||
8 years ago
|
RUN rm -rf /var/www/html/ \
|
||
7 years ago
|
&& mkdir /var/www/html \
|
||
|
&& cd /var/www/html \
|
||
8 years ago
|
&& curl -L -O ${RAINLOOP_URL} \
|
||
|
&& unzip *.zip \
|
||
|
&& rm -f *.zip \
|
||
|
&& rm -rf data/ \
|
||
|
&& find . -type d -exec chmod 755 {} \; \
|
||
|
&& find . -type f -exec chmod 644 {} \; \
|
||
|
&& chown -R www-data: *
|
||
|
|
||
7 years ago
|
COPY include.php /var/www/html/include.php
|
||
8 years ago
|
COPY php.ini /usr/local/etc/php/conf.d/rainloop.ini
|
||
8 years ago
|
|
||
|
COPY config.ini /config.ini
|
||
|
COPY default.ini /default.ini
|
||
|
|
||
|
COPY start.sh /start.sh
|
||
|
|
||
|
CMD ["/start.sh"]
|