Skip to content

Commit

Permalink
0.9.18
Browse files Browse the repository at this point in the history
  • Loading branch information
lbouriez committed Apr 5, 2021
1 parent 7024110 commit 9971f90
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 12 deletions.
54 changes: 45 additions & 9 deletions ttrss/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,53 @@
ARG BUILD_FROM=lunik1/tt-rss:latest
ARG BUILD_FROM=ghcr.io/linuxserver/baseimage-alpine-nginx:3.12
FROM ${BUILD_FROM}

# MOFIFY DATA PATH
RUN sed -i "s|/config|/data|g" /etc/services.d/update-feeds/run
RUN sed -i "s|/config|/data|g" /etc/cont-init.d/19-newdefault
RUN sed -i "s|/config/|/data/|g" /etc/cont-init.d/30-config
# Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

RUN sed -i "s|/config|/data|g" /defaults/default
RUN sed -i "s|/config|/data|g" /defaults/default.incontainer
ARG TT_RSS_VERSION

VOLUME [ "/data" ]
RUN \
apk add --no-cache \
curl=7.64.0-r5 \
php7-apcu=5.1.16-r0 \
php7-curl=7.2.33-r0 \
php7-dom=7.2.33-r0 \
php7-gd=7.2.33-r0 \
php7-iconv=7.2.33-r0 \
php7-intl=7.2.33-r0 \
php7-ldap=7.2.33-r0 \
php7-mcrypt=1.0.1-r1 \
php7-mysqli=7.2.33-r0 \
php7-mysqlnd=7.2.33-r0 \
php7-pcntl=7.2.33-r0 \
php7-pdo_mysql=7.2.33-r0 \
php7-pdo_pgsql=7.2.33-r0 \
php7-pgsql=7.2.33-r0 \
php7-posix=7.2.33-r0 \
tar=1.32-r0 \
\
&& mkdir -p /var/www/html/ \
\
&& if [ -z ${TT_RSS_VERSION+x} ]; then TT_RSS_VERSION=master; fi \
\
&& curl -o \
/tmp/ttrss.tar.gz -L \
"https://gitlab.com/lunik1/tt-rss/-/archive/master/tt-rss-${TT_RSS_VERSION}.tar.gz" \
\
&& tar xf \
/tmp/ttrss.tar.gz -C \
/var/www/html/ --strip-components=1 \
\
&& ln -sf /usr/bin/php7 /usr/bin/php \
\
&& rm -rf /tmp/* \
\
&& sed -i 's/^;clear_env/clear_env/i' /etc/php7/php-fpm.d/www.conf \
\
&& chmod -R 777 /var/www/html

RUN chmod -R 777 /var/www/
# Copy root filesystem
COPY root /

# Build arguments
ARG BUILD_ARCH
Expand Down
2 changes: 1 addition & 1 deletion ttrss/build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"build_from": {
"aarch64": "ghcr.io/linuxserver/baseimage-alpine-nginx:arm64v8-3.9",
"amd64": "lunik1/tt-rss:latest",
"amd64": "ghcr.io/linuxserver/baseimage-alpine-nginx:amd64-3.9",
"armv7": "ghcr.io/linuxserver/baseimage-alpine-nginx:arm32v7-3.9"
}
}
5 changes: 3 additions & 2 deletions ttrss/config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "tt-rss",
"version": "0.9.17",
"version": "0.9.18",
"slug": "ttrss",
"description": "Tiny-rss add-on based on the prebuilt docker image from linuxserver",
"url": "https://github.com/lbouriez/hassio-addons",
"startup": "services",
"arch": ["amd64"],
"legacy": true,
"arch": ["aarch64", "amd64", "armv7"],
"image": "ghcr.io/lbouriez/addon-tt-rss/{arch}",
"ports": {
"80/tcp": 32790
Expand Down

0 comments on commit 9971f90

Please sign in to comment.