This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
freshrss/Dockerfile
Renovator Bot 9d4410cd25
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore(deps): update dependency freshrss/freshrss to v1.18.1 (#31)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [FreshRSS/FreshRSS](https://github.com/FreshRSS/FreshRSS) | patch | `1.18.0` -> `1.18.1` |

---

### Release Notes

<details>
<summary>FreshRSS/FreshRSS</summary>

### [`v1.18.1`](https://github.com/FreshRSS/FreshRSS/blob/master/CHANGELOG.md#&#8203;2021-06-06-FreshRSS-1181)

[Compare Source](https://github.com/FreshRSS/FreshRSS/compare/1.18.0...1.18.1)

-   Features
    -   Support standard `HTTP 410 Gone` by disabling (muting) gone feeds [#&#8203;3561](https://github.com/FreshRSS/FreshRSS/pull/3561)
    -   Make advanced feed options such as SSL available to non-admins [#&#8203;3612](https://github.com/FreshRSS/FreshRSS/pull/3612)
-   API
    -   Supported by [Newsboat 2.24+](https://newsboat.org/) [#&#8203;3574](https://github.com/FreshRSS/FreshRSS/pull/3574)
    -   Supported by [RSS Guard](https://github.com/martinrotter/rssguard) [#&#8203;3627](https://github.com/FreshRSS/FreshRSS/pull/3627)
-   UI
    -   Allow Unicode for shortcuts [#&#8203;3548](https://github.com/FreshRSS/FreshRSS/pull/3548)
-   Bug fixing
    -   Fix database lock during refresh with MariaDB [#&#8203;3559](https://github.com/FreshRSS/FreshRSS/pull/3559)
    -   Fix database creation from CLI [#&#8203;3544](https://github.com/FreshRSS/FreshRSS/pull/3544)
    -   Fix: `pdo_sqlite` is optional except for export/import SQLite [#&#8203;3545](https://github.com/FreshRSS/FreshRSS/pull/3545)
    -   Fix import of JSON and TT-RSS files, especially with PHP 8 [#&#8203;3553](https://github.com/FreshRSS/FreshRSS/pull/3553)
        -   Allow import of more than 999 favourites/labelled articles even with SQLite
    -   Fix additional SQL limits, especially for SQLite [#&#8203;3586](https://github.com/FreshRSS/FreshRSS/pull/3586)
    -   Fix search param encoding in user query [#&#8203;3541](https://github.com/FreshRSS/FreshRSS/pull/3541)
    -   Fix undefined variable & dead code when adding feed [#&#8203;3546](https://github.com/FreshRSS/FreshRSS/pull/3546)
    -   Fix missing translation in feed configuration [#&#8203;3554](https://github.com/FreshRSS/FreshRSS/pull/3554)
    -   Fix double escaping in feed filters [#&#8203;3563](https://github.com/FreshRSS/FreshRSS/pull/3563)
    -   Fix bugs in migration system [#&#8203;3589](https://github.com/FreshRSS/FreshRSS/pull/3589)
    -   Fix regression preventing showing startup errors [#&#8203;3590](https://github.com/FreshRSS/FreshRSS/pull/3590)
    -   Fix form redirection after erroneous user creation [#&#8203;3656](https://github.com/FreshRSS/FreshRSS/pull/3656)
    -   Fix JavaScript error during navigation when no article is selected [#&#8203;3655](https://github.com/FreshRSS/FreshRSS/pull/3655)
    -   Fix link to add feeds from the empty homepage [#&#8203;3650](https://github.com/FreshRSS/FreshRSS/pull/3650)
    -   Fix git update error message [#&#8203;3645](https://github.com/FreshRSS/FreshRSS/pull/3645)
-   SimplePie
    -   Fix regression about media attachments [#&#8203;3565](https://github.com/FreshRSS/FreshRSS/pull/3565)
    -   Fix regression about forcing HTTPS for enclosures [#&#8203;3568](https://github.com/FreshRSS/FreshRSS/pull/3568)
    -   Catch ValueError for loadHTML with PHP 8 [simplepie#&#8203;673](https://github.com/simplepie/simplepie/pull/673)
    -   Provide access to latest HTTP status code [simplepie#&#8203;674](https://github.com/simplepie/simplepie/pull/674)
    -   Fix wrong SimplePie type hint [simplepie#&#8203;678](https://github.com/simplepie/simplepie/pull/678)
    -   Merge details from upstream PRs [#&#8203;3588](https://github.com/FreshRSS/FreshRSS/pull/3588), [#&#8203;3614](https://github.com/FreshRSS/FreshRSS/pull/3614)
-   API
    -   Compatibility with Web servers providing `ORIG_PATH_INFO` [#&#8203;3560](https://github.com/FreshRSS/FreshRSS/pull/3560)
-   i18n
    -   Improved Russian [#&#8203;3579](https://github.com/FreshRSS/FreshRSS/pull/3579)
    -   Improved Turkish [#&#8203;3604](https://github.com/FreshRSS/FreshRSS/pull/3604)
    -   Improved Chinese [#&#8203;3600](https://github.com/FreshRSS/FreshRSS/pull/3600)
-   Code improvements:
    -   Friendly constant syntax for Intellisense [#&#8203;3577](https://github.com/FreshRSS/FreshRSS/pull/3577)
    -   Fix several comments syntaxes [#&#8203;3615](https://github.com/FreshRSS/FreshRSS/pull/3615)
    -   Minor uniform stricter HTML [#&#8203;3616](https://github.com/FreshRSS/FreshRSS/pull/3616)
    -   Removed unused variable [#&#8203;3587](https://github.com/FreshRSS/FreshRSS/pull/3587)
    -   Provide action name in Minz controller exception [#&#8203;3624](https://github.com/FreshRSS/FreshRSS/pull/3624)
    -   New convenience method to extract multiline GET parameters from e.g. `<textarea>` [#&#8203;3629](https://github.com/FreshRSS/FreshRSS/pull/3629)
-   Deployment
    -   Automatically apply `latest` tag in git for the latest FreshRSS release [#&#8203;3524](https://github.com/FreshRSS/FreshRSS/pull/3524)
-   Misc.
    -   Remove legacy `data/do-install.txt` for triggering install process [#&#8203;3555](https://github.com/FreshRSS/FreshRSS/pull/3555)
    -   If using built-in git updates, automatically change to git `edge` branch if using old `master` or `dev` branch names [#&#8203;3589](https://github.com/FreshRSS/FreshRSS/pull/3589)

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

Reviewed-on: docker/freshrss#31
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2021-06-07 18:47:36 +02:00

56 lines
2.2 KiB
Docker

FROM thegeeklab/nginx:latest@sha256:b87952e51d7e29439a23affa33301b82aede3c4c4a59a3ac1273b47f1fba6195
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.title="FreshRSS"
LABEL org.opencontainers.image.url="https://gitea.rknet.org/docker/freshrss"
LABEL org.opencontainers.image.source="https://gitea.rknet.org/docker/freshrss"
LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/docker/freshrss"
ARG BUILD_VERSION
# renovate: datasource=github-releases depName=FreshRSS/FreshRSS
ENV FRESHRSS_VERSION="${BUILD_VERSION:-1.18.1}"
ADD overlay/ /
RUN apk --update add --virtual .build-deps tar curl && \
apk --update add php7 php7-curl php7-fpm php7-gmp php7-intl php7-mbstring php7-xml \
php7-zip php7-ctype php7-dom php7-fileinfo php7-iconv php7-json php7-session \
php7-simplexml php7-xmlreader php7-zlib php7-pdo_sqlite php7-pdo_mysql\
php7-pdo_pgsql && \
rm -rf /var/www/localhost && \
rm -f /etc/php7/php-fpm.d/www.conf && \
mkdir -p /var/www/app && \
mkdir /var/www/.postgresql && \
FRESHRSS_VERSION="${FRESHRSS_VERSION##v}" && \
echo "Installing FreshRSS version '${FRESHRSS_VERSION}' ..." && \
curl -SsL "https://github.com/FreshRSS/FreshRSS/archive/${FRESHRSS_VERSION}.tar.gz" | \
tar xz -C /var/www/app/ -X /.tarignore --strip-components=1 && \
curl -SsL -o /etc/php7/browscap.ini https://browscap.org/stream?q=Lite_PHP_BrowsCapINI && \
apk del .build-deps && \
rm -rf /var/cache/apk/* && \
rm -rf /tmp/* && \
mkdir -p /var/run/php && \
chown -R nginx /var/run/php && \
mkdir -p /var/lib/php/tmp_upload && \
mkdir -p /var/lib/php/soap_cache && \
mkdir -p /var/lib/php/session && \
chown -R nginx /var/lib/php && \
chown nginx /etc/php7/php.ini && \
chown -R nginx:nginx /var/www/.postgresql && \
chown -R nginx:nginx /var/www/app
VOLUME /var/www/app/extensions
VOLUME /var/www/app/data
EXPOSE 8080
USER nginx
STOPSIGNAL SIGTERM
ENTRYPOINT ["/usr/local/bin/entrypoint"]
HEALTHCHECK --interval=30s --timeout=5s --retries=3 CMD /usr/local/bin/healthcheck
WORKDIR /var/www/app
CMD []