1
0
mirror of https://git.cloudron.io/cloudron/freshrss-app synced 2025-09-02 13:25:15 +00:00

Apply extensions_path fix

Part of #2
This commit is contained in:
Girish Ramakrishnan
2018-05-31 09:36:49 -07:00
parent cbc8866253
commit 62182d519b
2 changed files with 6 additions and 8 deletions

View File

@@ -4,14 +4,13 @@ RUN apt-get update \
&& apt-get -y install php php-curl php-gmp php-intl php-mbstring php-xml php-zip \
libapache2-mod-php mysql-client php-mysql
ENV VERSION 1.10.2
ENV EXTENSIONS_VERSION b63f55d6fdd8e93da846bb741c3fed12d50909be
RUN mkdir -p /app/code
WORKDIR /app/code
RUN wget "https://github.com/FreshRSS/FreshRSS/archive/${VERSION}.tar.gz" -O - | tar -xz --strip-components=1 && \
sed -e "s|define('EXTENSIONS_PATH'.*);|define('EXTENSIONS_PATH', '/app/data/extensions');|" -i /app/code/constants.php
# contains fix for extensions_path (see #2)
RUN curl -L https://github.com/cloudron-io/FreshRSS/archive/2c7c367a5b38870e3250b1359ead3c2665410f89.tar.gz | tar -zxvf - --strip-components=1
RUN mv data data-orig && ln -s /app/data data