From cbc886625364946570087bc4ee5b8197998392d9 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 30 May 2018 15:10:02 -0700 Subject: [PATCH] Fix extension path The issue is that the code that serves file for extensions uses the realpath(extensions_dir). Fixes #2 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5c5a1e9..acfd4d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,8 @@ 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 +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 RUN mv data data-orig && ln -s /app/data data