2017-12-02 03:10:55 +01:00
|
|
|
FROM alpine:3.7
|
2014-10-27 12:58:42 +01:00
|
|
|
|
2017-12-02 03:10:55 +01:00
|
|
|
VOLUME /var/www/app/data
|
2016-09-03 05:26:34 +02:00
|
|
|
|
2017-12-02 03:10:55 +01:00
|
|
|
EXPOSE 80
|
2016-02-19 03:51:08 +01:00
|
|
|
|
2017-12-02 03:10:55 +01:00
|
|
|
ARG VERSION
|
2016-02-19 03:51:08 +01:00
|
|
|
|
2017-12-02 03:10:55 +01:00
|
|
|
RUN apk update && \
|
|
|
|
apk add unzip nginx bash ca-certificates s6 curl php7 php7-phar php7-curl \
|
|
|
|
php7-fpm php7-json php7-zlib php7-xml php7-dom php7-ctype php7-opcache php7-zip php7-iconv \
|
|
|
|
php7-pdo php7-pdo_mysql php7-pdo_sqlite php7-pdo_pgsql php7-mbstring php7-session \
|
|
|
|
php7-gd php7-mcrypt php7-openssl php7-sockets php7-posix php7-ldap php7-simplexml && \
|
|
|
|
rm -rf /var/cache/apk/* && \
|
|
|
|
rm -rf /var/www/localhost && \
|
|
|
|
rm -f /etc/php7/php-fpm.d/www.conf
|
2014-10-27 12:58:42 +01:00
|
|
|
|
2017-12-02 03:10:55 +01:00
|
|
|
RUN cd /tmp \
|
2017-12-30 01:19:20 +01:00
|
|
|
&& curl -sL -o miniflux.zip https://github.com/miniflux/miniflux-legacy/archive/$VERSION.zip \
|
2017-12-02 03:10:55 +01:00
|
|
|
&& unzip -qq miniflux.zip \
|
|
|
|
&& cd miniflux-* \
|
|
|
|
&& cp -R . /var/www/app \
|
|
|
|
&& cd /tmp \
|
|
|
|
&& rm -rf /tmp/miniflux-* /tmp/*.zip
|
2014-10-27 12:58:42 +01:00
|
|
|
|
2017-12-02 03:10:55 +01:00
|
|
|
ADD docker/ /
|
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
|
|
|
CMD []
|
2014-10-27 12:58:42 +01:00
|
|
|
|