This repository has been archived on 2021-12-12. You can view files and clone it, but cannot push or open issues or pull requests.
ttrss/Dockerfile.linux.amd64

40 lines
1.5 KiB
Docker
Raw Normal View History

2019-07-02 12:18:08 +00:00
FROM alpine:3.10.0
2019-07-04 06:12:52 +00:00
LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
org.label-schema.name="TT-RSS" \
org.label-schema.version="1.2" \
org.label-schema.vendor="Robert Kaussow" \
org.label-schema.schema-version="1.0"
2019-07-03 07:04:01 +00:00
ARG TTRSS_VERSION=master
ARG TTRSS_TARBALL=https://git.tt-rss.org/git/tt-rss/archive/${TTRSS_VERSION}.tar.gz
2019-07-02 12:18:08 +00:00
2019-07-03 07:04:01 +00:00
RUN apk --update add --virtual .build-deps tar curl && \
apk --update add s6 nginx ca-certificates ssmtp mailx php7 php7-curl \
2019-07-02 12:18:08 +00:00
php7-fpm php7-xml php7-dom php7-opcache php7-iconv php7-pdo php7-pdo_mysql php7-mysqli php7-mysqlnd \
php7-pdo_pgsql php7-pgsql php7-gd php7-mcrypt php7-posix php7-ldap php7-json php7-mbstring \
php7-session php7-fileinfo php7-intl php7-pcntl && \
rm -rf /var/www/localhost && \
rm -f /etc/php7/php-fpm.d/www.conf && \
mkdir -p /var/www/app && \
2019-07-04 06:12:52 +00:00
curl -SsL -o /usr/local/bin/gomplate https://github.com/hairyhenderson/gomplate/releases/download/v3.5.0/gomplate_linux-amd64-slim && \
2019-07-03 07:04:01 +00:00
chmod 755 /usr/local/bin/gomplate && \
curl -SsL ${TTRSS_TARBALL} | tar xz -C /var/www/app/ --strip-components=1 && \
curl -SsL -o /etc/php7/browscap.ini https://browscap.org/stream?q=Lite_PHP_BrowsCapINI && \
2019-07-03 07:04:01 +00:00
apk del .build-deps && \
rm -rf /var/cache/apk/* && \
rm -rf /tmp/*
2019-07-02 12:18:08 +00:00
ADD overlay/ /
2019-07-11 14:12:37 +00:00
VOLUME /var/www/app/plugins.local
2019-07-02 12:18:08 +00:00
VOLUME /var/www/app/feed-icons
VOLUME /var/www/app/themes.local
2019-07-02 12:18:08 +00:00
EXPOSE 80
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
2019-07-17 10:17:40 +00:00
HEALTHCHECK --interval=30s --timeout=10s --retries=3 CMD /usr/local/bin/healthcheck.sh
2019-07-02 12:18:08 +00:00
WORKDIR /var/www/app
CMD []