qbit_manage/Dockerfile

22 lines
699 B
Docker
Raw Normal View History

FROM python:3.11-alpine
2023-05-23 09:29:31 +08:00
ARG BRANCH_NAME=master
Release 4.1.8 (#645) * 4.1.8-develop1 * Bump humanize from 4.9.0 to 4.10.0 (#603) Bumps [humanize](https://github.com/python-humanize/humanize) from 4.9.0 to 4.10.0. - [Release notes](https://github.com/python-humanize/humanize/releases) - [Commits](https://github.com/python-humanize/humanize/compare/4.9.0...4.10.0) --- updated-dependencies: - dependency-name: humanize dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Print the schedule and delay before starting the sleep (#606) * Bump croniter from 2.0.5 to 2.0.7 (#607) Bumps [croniter](https://github.com/kiorky/croniter) from 2.0.5 to 2.0.7. - [Changelog](https://github.com/kiorky/croniter/blob/master/CHANGELOG.rst) - [Commits](https://github.com/kiorky/croniter/compare/2.0.5...2.0.7) --- updated-dependencies: - dependency-name: croniter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump qbittorrent-api from 2024.5.63 to 2024.7.64 (#611) Bumps [qbittorrent-api](https://github.com/rmartin16/qbittorrent-api) from 2024.5.63 to 2024.7.64. - [Release notes](https://github.com/rmartin16/qbittorrent-api/releases) - [Changelog](https://github.com/rmartin16/qbittorrent-api/blob/main/CHANGELOG.md) - [Commits](https://github.com/rmartin16/qbittorrent-api/compare/v2024.5.63...v2024.7.64) --- updated-dependencies: - dependency-name: qbittorrent-api dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Check for symlinks prior to counting file as a hardlink (#609) * Bump croniter from 2.0.7 to 3.0.1 (#617) * Update SUPPORTED_VERSIONS.json (#618) * Update SUPPORTED_VERSIONS.json (#612) Co-authored-by: bobokun <12660469+bobokun@users.noreply.github.com> * Bump croniter from 3.0.1 to 3.0.3 (#621) Bumps [croniter](https://github.com/kiorky/croniter) from 3.0.1 to 3.0.3. - [Changelog](https://github.com/kiorky/croniter/blob/master/CHANGELOG.rst) - [Commits](https://github.com/kiorky/croniter/compare/3.0.1...3.0.3) --- updated-dependencies: - dependency-name: croniter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump pre-commit from 3.7.1 to 3.8.0 (#620) Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.7.1 to 3.8.0. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v3.7.1...v3.8.0) --- updated-dependencies: - dependency-name: pre-commit dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: bump required python version to 3.9.0+ (#623) * Typo fix in ` docs/Config-Setup.md` (#627) * Typo fix in `config.yml.sample` (#626) * Bump flake8 from 7.1.0 to 7.1.1 (#628) Bumps [flake8](https://github.com/pycqa/flake8) from 7.1.0 to 7.1.1. - [Commits](https://github.com/pycqa/flake8/compare/7.1.0...7.1.1) --- updated-dependencies: - dependency-name: flake8 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(docs): Sync wiki to docs [skip-cd] * Bump qbittorrent-api from 2024.7.64 to 2024.8.65 (#637) Bumps [qbittorrent-api](https://github.com/rmartin16/qbittorrent-api) from 2024.7.64 to 2024.8.65. - [Release notes](https://github.com/rmartin16/qbittorrent-api/releases) - [Changelog](https://github.com/rmartin16/qbittorrent-api/blob/main/CHANGELOG.md) - [Commits](https://github.com/rmartin16/qbittorrent-api/compare/v2024.7.64...v2024.8.65) --- updated-dependencies: - dependency-name: qbittorrent-api dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update SUPPORTED_VERSIONS.json (#639) * Extend logging to explain why torrent files were not deleted. (#640) * Extend logging to explain why torrent files were not deleted. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * update tox * Add force_auto_tmm_ignore_tags feature (#634) * Add force_auto_tmm_ignore_tags feature to qbittorrent module This commit introduces a new configuration option 'force_auto_tmm_ignore_tags' that allows users to specify tags which will prevent the force_auto_tmm feature from being applied to that torrent. Changes: qbittorrent.py: Modified the get_torrent_info method in the Qbt class Added a check for matching tags to ignore when applying force_auto_tmm config.py: Added 'force_auto_tmm_ignore_tags' to the settings dictionary Implemented check_for_attribute method call to load the new setting from config.yml config.yml: Added 'force_auto_tmm_ignore_tags' to the settings section Included example tags 'cross-seed' and 'Upload' as default values to ignore * remove extra spacing between lines. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix line length to adhere to flake8 * change log output for force_auto_tmm to multiline comment to adhere to flake8 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add comment explaining logic for ignoring force_auto_tmm using tags. * Add force_auto_tmm_ignore_tags feature to qbittorrent module This commit introduces a new configuration option 'force_auto_tmm_ignore_tags' that allows users to specify tags which will prevent the force_auto_tmm feature from being applied to that torrent. Changes: qbittorrent.py: Modified the get_torrent_info method in the Qbt class Added a check for matching tags to ignore when applying force_auto_tmm config.py: Added 'force_auto_tmm_ignore_tags' to the settings dictionary Implemented check_for_attribute method call to load the new setting from config.yml config.yml: Added 'force_auto_tmm_ignore_tags' to the settings section Included example tags 'cross-seed' and 'Upload' as default values to ignore remove extra spacing between lines. fix line length to adhere to flake8 [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci change log output for force_auto_tmm to multiline comment to adhere to flake8 [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Add comment explaining logic for ignoring force_auto_tmm using tags. * fixed text formatting so its displayed properly when script is run * remove f-string --------- Co-authored-by: TJZine <tzine@student.bridgew.edu> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: bobokun <12660469+bobokun@users.noreply.github.com> * Bump peter-evans/create-pull-request from 6 to 7 (#642) Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6 to 7. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v7) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * 4.1.8 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: bobokun <jon.cy.lee98@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ineednewpajamas <73252768+ineednewpajamas@users.noreply.github.com> Co-authored-by: Nicholas Sereni <glicholas@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: bobokun <12660469+bobokun@users.noreply.github.com> Co-authored-by: James Tufarelli <8152401+Minituff@users.noreply.github.com> Co-authored-by: Actionbot <actions@github.com> Co-authored-by: darkeclipse <5069005+Dark3clipse@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Tristan Zine <72631199+TJZine@users.noreply.github.com> Co-authored-by: TJZine <tzine@student.bridgew.edu>
2024-09-06 08:08:15 +08:00
ENV BRANCH_NAME=${BRANCH_NAME}
ENV TINI_VERSION=v0.19.0
ENV QBM_DOCKER=True
2022-01-03 01:14:26 +08:00
COPY requirements.txt /
2021-12-16 07:34:26 +08:00
2023-05-23 09:29:31 +08:00
# install packages
RUN echo "**** install system packages ****" \
&& apk update \
&& apk upgrade \
&& apk add --no-cache tzdata gcc g++ libxml2-dev libxslt-dev zlib-dev bash curl wget jq grep sed coreutils findutils unzip p7zip ca-certificates tini\
2022-01-03 01:14:26 +08:00
&& pip3 install --no-cache-dir --upgrade --requirement /requirements.txt \
&& apk del gcc g++ libxml2-dev libxslt-dev zlib-dev \
&& rm -rf /requirements.txt /tmp/* /var/tmp/* /var/cache/apk/*
2021-12-16 07:34:26 +08:00
2022-01-03 01:14:26 +08:00
COPY . /app
WORKDIR /app
VOLUME /config
ENTRYPOINT ["/sbin/tini", "-s", "python3", "qbit_manage.py"]