This repository has been archived by the owner on Jan 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
47 lines (39 loc) · 2.02 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
FROM php:5-apache
MAINTAINER Laurent Corbes <[email protected]>
# add needed git and extra dev packages
RUN apt-get update && apt-get install -y git
# add needed php modules
RUN apt-get install -y libsqlite3-dev libcurl4-gnutls-dev && docker-php-ext-install -j$(nproc) mbstring iconv pdo_sqlite curl
# cleanup
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
# Configure php
COPY php-local.conf /usr/local/etc/php/conf.d/
# installing app
ENV APPDIR /var/www/html
RUN rm -rf $APPDIR \
&& cd /var/www \
&& git clone --depth 1 https://github.com/miniflux/miniflux.git \
&& mv /var/www/miniflux $APPDIR \
&& chown -R www-data:www-data $APPDIR/data
WORKDIR $APPDIR
# installing themes
RUN cd $APPDIR/themes \
&& git clone https://github.com/miniflux/theme-bootstrap-light.git bootstrap-light \
&& git clone https://github.com/miniflux/theme-bootswatch-cyborg.git bootswatch-cyborg \
# && git clone https://github.com/miniflux/theme-cards.git cards \
&& git clone https://github.com/lcaflc/miniflux-theme-cards.git cards \
&& git clone https://github.com/miniflux/theme-nostyle.git nostyle \
&& git clone https://github.com/miniflux/theme-still.git still \
&& git clone https://github.com/miniflux/theme-green.git green \
&& git clone https://github.com/miniflux/theme-midnight.git midnight \
&& git clone https://github.com/miniflux/theme-copper.git copper \
&& git clone https://github.com/meradoou/hello.git \
&& git clone -b flat https://github.com/meradoou/hello.git hello-flat \
&& git clone -b reader https://github.com/meradoou/hello.git hello-reader \
&& git clone https://github.com/Cygnusfear/Miniflux-Theme-Sun.git sun \
&& git clone https://github.com/lacereation/minflux-theme.git /tmp/emm && mv /tmp/emm/themes/* . && rm -rf /tmp/emm \
&& git clone https://github.com/meradoou/yonta.git \
&& git clone https://github.com/Debetux/miniflux-theme-compact.git compact \
&& git clone https://github.com/JoshuaCrewe/reader-theme.git reader \
&& git clone https://github.com/johnmartin/read.git
VOLUME $APPDIR/data