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.
kanboard/Dockerfile

53 lines
2.1 KiB
Docker
Raw Normal View History

FROM thegeeklab/nginx:latest@sha256:1c97c8395046bf2eaa9e758661581d42a9857dcefc6bcf07908dac55dbf26082
2019-07-21 22:38:49 +00:00
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.title="Kanboard"
LABEL org.opencontainers.image.url="https://gitea.rknet.org/docker/kanboard"
LABEL org.opencontainers.image.source="https://gitea.rknet.org/docker/kanboard"
LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/docker/kanboard"
2019-07-21 22:38:49 +00:00
2020-10-17 13:29:44 +00:00
ARG BUILD_VERSION
# renovate: datasource=github-releases depName=kanboard/kanboard
chore(deps): update dependency kanboard/kanboard to v1.2.19 (#31) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [kanboard/kanboard](https://github.com/kanboard/kanboard) | patch | `v1.2.18` -> `v1.2.19` | --- ### Release Notes <details> <summary>kanboard/kanboard</summary> ### [`v1.2.19`](https://github.com/kanboard/kanboard/releases/v1.2.19) [Compare Source](https://github.com/kanboard/kanboard/compare/v1.2.18...v1.2.19) - Trim user agent for RememberMe sessions because MySQL use a varchar(255) column - Update Docker image to Alpine 3.13.4 - Added "Deutsch (du)" language - Fixed `createLdapUser` API procedure when LDAP groups are not configured - Write RememberMe cookie only after the two-factor code has been validated - Avoid warning when removing a plugin zip archive - Update Hungarian translation - Add new hook `model:task:duplication:aftersave` - Bump symfony/stopwatch from 5.2.3 to 5.2.4 - Bump pimple/pimple from 3.3.1 to 3.4.0 - Bump gregwar/captcha from 1.1.8 to 1.1.9 - Added new analytic component: "Estimated vs actual time per column" - Do not retain any changes between shared plugins variables - Display number of tasks according to filter - Add support for LDAP protocol/host/port configuration by URL; make `BASE_DN` optional - `ldap_connect($host, $port)` function signature is deprecated - Querying an AD Global Catalog across an entire forest requires an empty base DN - Use an absolute file path in `AssetHelper` class for `css()` & `js()` functions - Remove whitespace at the end of `APP_VERSION` constant - Add IP address to authentication error logs - Add interpolation expressions to e-mail subject in automatic action "Send a task by email to someone" - For example: `Email subject = {{column_title}}: {{title}} (#{{id}})` - Add Hungarian Forint to the list of currencies </details> --- ### Renovate 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: https://gitea.rknet.org/docker/kanboard/pulls/31 Co-authored-by: Renovator Bot <renovator@rknet.org> Co-committed-by: Renovator Bot <renovator@rknet.org>
2021-04-17 07:31:29 +00:00
ENV KANBOARD_VERSION="${BUILD_VERSION:-v1.2.19}"
2020-02-22 13:44:39 +00:00
ADD overlay/ /
2019-07-21 22:38:49 +00:00
RUN apk --update add --virtual .build-deps tar curl && \
2019-09-28 19:00:56 +00:00
apk --update add ssmtp mailx php7 php7-phar php7-curl \
2019-07-21 22:38:49 +00:00
php7-fpm php7-json php7-zlib php7-xml php7-dom php7-ctype php7-opcache php7-zip php7-iconv \
php7-pdo php7-pdo_mysql php7-pdo_sqlite php7-pdo_pgsql php7-mbstring php7-session php7-bcmath \
2019-07-21 22:45:00 +00:00
php7-gd php7-mcrypt php7-openssl php7-sockets php7-posix php7-ldap php7-simplexml && \
2019-07-21 22:38:49 +00:00
rm -rf /var/www/localhost && \
rm -f /etc/php7/php-fpm.d/www.conf && \
mkdir -p /var/www/app && \
2020-02-22 15:43:56 +00:00
echo "Installing Kanboard version '${KANBOARD_VERSION##v}' ..." && \
2020-02-22 14:20:15 +00:00
curl -SsL "https://github.com/kanboard/kanboard/archive/${KANBOARD_VERSION}.tar.gz" | \
tar xz -C /var/www/app/ -X /.tarignore --strip-components=1 && \
2019-07-21 22:38:49 +00:00
curl -SsL -o /etc/php7/browscap.ini https://browscap.org/stream?q=Lite_PHP_BrowsCapINI && \
apk del .build-deps && \
rm -rf /var/cache/apk/* && \
2019-07-22 06:57:51 +00:00
rm -rf /tmp/* && \
2019-09-28 19:00:56 +00:00
mkdir -p /var/run/php && \
chown -R nginx /var/run/php && \
2019-07-22 06:57:51 +00:00
mkdir -p /var/lib/php/tmp_upload && \
mkdir -p /var/lib/php/soap_cache && \
mkdir -p /var/lib/php/session && \
2019-09-28 19:00:56 +00:00
chown -R nginx /var/lib/php && \
chown nginx /etc/php7/php.ini && \
2019-09-28 20:16:29 +00:00
chown -R nginx:nginx /var/www/app
2019-07-21 22:38:49 +00:00
VOLUME /var/www/app/plugins
2019-10-02 08:51:21 +00:00
VOLUME /var/www/app/data
2019-07-21 22:38:49 +00:00
2019-09-28 19:00:56 +00:00
EXPOSE 8080
USER nginx
STOPSIGNAL SIGTERM
2019-07-21 22:38:49 +00:00
2020-02-22 13:44:39 +00:00
ENTRYPOINT ["/usr/local/bin/entrypoint"]
HEALTHCHECK --interval=30s --timeout=5s --retries=3 CMD /usr/local/bin/healthcheck
2019-07-21 22:38:49 +00:00
WORKDIR /var/www/app
CMD []