From 2c02fcce22625ba8b562565f5cef0ab820e4dc21 Mon Sep 17 00:00:00 2001 From: Mathieu Bruyen Date: Wed, 12 Dec 2018 20:07:59 +0100 Subject: [PATCH] partial dockerfile --- Dockerfile | 30 +++++++++ config.php | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 210 insertions(+) create mode 100644 Dockerfile create mode 100644 config.php diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8c2eec3 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,30 @@ +FROM alpine:3.8 + +# https://git.tt-rss.org/fox/tt-rss/wiki/InstallationNotes +# https://github.com/clue/docker-ttrss/blob/master/Dockerfile +# https://github.com/linuxserver/docker-tt-rss/blob/master/Dockerfile + +ADD https://git.tt-rss.org/fox/tt-rss/archive/18.12.tar.gz /tmp/ttrss.tar.gz + +RUN tar -xzf /tmp/ttrss.tar.gz + +RUN \ + echo "**** install packages ****" && \ + apk add --no-cache \ + curl \ + php7-apcu \ + php7-curl \ + php7-dom \ + php7-gd \ + php7-iconv \ + php7-intl \ + php7-mcrypt \ + php7-pcntl \ + php7-pdo_pgsql \ + php7-pgsql \ + php7-posix \ + tar && \ + echo "**** link php7 to php ****" && \ + ln -sf /usr/bin/php7 /usr/bin/php + +#copy config + delete install.php diff --git a/config.php b/config.php new file mode 100644 index 0000000..4032553 --- /dev/null +++ b/config.php @@ -0,0 +1,180 @@ + System), syslog - logs to system log. + // Setting this to blank uses PHP logging (usually to http server + // error.log). + // Note that feed updating daemons don't use this logging facility + // for normal output. + + define('CONFIG_VERSION', 26); + // Expected config version. Please update this option in config.php + // if necessary (after migrating all new options from this file). + + // vim:ft=php