From 6ed2c00eb82e86df512d3b8fb751e067e304aace Mon Sep 17 00:00:00 2001 From: thespad Date: Wed, 9 Jul 2025 22:22:00 +0100 Subject: [PATCH 1/2] Rebase to 3.22 --- .editorconfig | 0 .github/CONTRIBUTING.md | 0 .github/FUNDING.yml | 0 .github/ISSUE_TEMPLATE/config.yml | 0 .github/ISSUE_TEMPLATE/issue.bug.yml | 0 .github/ISSUE_TEMPLATE/issue.feature.yml | 0 .github/workflows/call_issue_pr_tracker.yml | 0 .github/workflows/call_issues_cron.yml | 0 .github/workflows/external_trigger.yml | 0 .../workflows/external_trigger_scheduler.yml | 0 .github/workflows/greetings.yml | 0 .../workflows/package_trigger_scheduler.yml | 0 .github/workflows/permissions.yml | 0 Dockerfile | 8 +++--- Dockerfile.aarch64 | 8 +++--- LICENSE | 0 README.md | 27 +------------------ readme-vars.yml | 26 +----------------- 18 files changed, 10 insertions(+), 59 deletions(-) mode change 100755 => 100644 .editorconfig mode change 100755 => 100644 .github/CONTRIBUTING.md mode change 100755 => 100644 .github/FUNDING.yml mode change 100755 => 100644 .github/ISSUE_TEMPLATE/config.yml mode change 100755 => 100644 .github/ISSUE_TEMPLATE/issue.bug.yml mode change 100755 => 100644 .github/ISSUE_TEMPLATE/issue.feature.yml mode change 100755 => 100644 .github/workflows/call_issue_pr_tracker.yml mode change 100755 => 100644 .github/workflows/call_issues_cron.yml mode change 100755 => 100644 .github/workflows/external_trigger.yml mode change 100755 => 100644 .github/workflows/external_trigger_scheduler.yml mode change 100755 => 100644 .github/workflows/greetings.yml mode change 100755 => 100644 .github/workflows/package_trigger_scheduler.yml mode change 100755 => 100644 .github/workflows/permissions.yml mode change 100755 => 100644 LICENSE diff --git a/.editorconfig b/.editorconfig old mode 100755 new mode 100644 diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md old mode 100755 new mode 100644 diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml old mode 100755 new mode 100644 diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml old mode 100755 new mode 100644 diff --git a/.github/ISSUE_TEMPLATE/issue.bug.yml b/.github/ISSUE_TEMPLATE/issue.bug.yml old mode 100755 new mode 100644 diff --git a/.github/ISSUE_TEMPLATE/issue.feature.yml b/.github/ISSUE_TEMPLATE/issue.feature.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/call_issue_pr_tracker.yml b/.github/workflows/call_issue_pr_tracker.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/call_issues_cron.yml b/.github/workflows/call_issues_cron.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/external_trigger.yml b/.github/workflows/external_trigger.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/external_trigger_scheduler.yml b/.github/workflows/external_trigger_scheduler.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/package_trigger_scheduler.yml b/.github/workflows/package_trigger_scheduler.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/permissions.yml b/.github/workflows/permissions.yml old mode 100755 new mode 100644 diff --git a/Dockerfile b/Dockerfile index a002973..3d25f26 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ # syntax=docker/dockerfile:1 -FROM ghcr.io/linuxserver/unrar:latest as unrar +FROM ghcr.io/linuxserver/unrar:latest AS unrar -FROM ghcr.io/linuxserver/baseimage-alpine:3.20 +FROM ghcr.io/linuxserver/baseimage-alpine:3.22 # set version label ARG BUILD_DATE @@ -39,8 +39,8 @@ RUN \ pip install -U --no-cache-dir \ pip \ wheel && \ - pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ -r requirements.txt && \ - pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ -r recommended.txt && \ + pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.22/ -r requirements.txt && \ + pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.22/ -r recommended.txt && \ printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \ echo "**** cleanup ****" && \ apk del --purge \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index d8b85ab..d8acfa6 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -1,8 +1,8 @@ # syntax=docker/dockerfile:1 -FROM ghcr.io/linuxserver/unrar:arm64v8-latest as unrar +FROM ghcr.io/linuxserver/unrar:arm64v8-latest AS unrar -FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.20 +FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.22 # set version label ARG BUILD_DATE @@ -39,8 +39,8 @@ RUN \ pip install -U --no-cache-dir \ pip \ wheel && \ - pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ -r requirements.txt && \ - pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ -r recommended.txt && \ + pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.22/ -r requirements.txt && \ + pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.22/ -r recommended.txt && \ printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \ echo "**** cleanup ****" && \ apk del --purge \ diff --git a/LICENSE b/LICENSE old mode 100755 new mode 100644 diff --git a/README.md b/README.md index 7abfa11..d186509 100644 --- a/README.md +++ b/README.md @@ -62,32 +62,6 @@ The architectures supported by this image are: Access the webui at `:8081`, for more information check out [SickGear](https://github.com/sickgear/sickgear). -## Migration - -Non linuxserver.io containers are known to have the following configuration differences and may need SickGear or docker changes to migrate an existing setup - -* The post processing directory which is volume mounted as `downloads` within this container may be `incoming` in other versions. - -* The permissions environmental variables which are defined as `PGID` and `PUID` within this container may have been `APP_UID` and `APP_UID` in other versions. - -* The configuration file directory which is volume mounted as `config` within this container may be set as the environmental variable `APP_DATA` in other versions. - -* The cache directory which is set in `config.ini` may be configured as a fixed path `cache_dir = /data/cache`. -Symptoms of this issue include port usage problems and a failure to start the web server log entries. -Whilst the container is stopped alter this directive to `cache_dir = cache` which will allow SickGear to look for the folder relative to the volume mounted `/config` directory. - -It is recommended that a clean install be completed, rather than a migration, however if migration is necessary: - -* start a new instance of this image - -* compare and align SickGear version numbers between old and new. Ideally they should match but at a minimum the old version should be a lower version number to allow SickGear itself to try and migrate - -* stop both containers - -* notice the configuration difference and migrate copies of the old settings into the new app - -* start the new container and test - ## Usage To help you get started creating a container from this image you can either use docker-compose or the docker cli. @@ -308,6 +282,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **09.07.25:** - Rebase to Alpine 3.22. * **25.06.24:** - Rebase to Alpine 3.20. * **20.03.24:** - Rebase to Alpine 3.19. * **08.10.23:** - Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar). diff --git a/readme-vars.yml b/readme-vars.yml index 8b88516..07976d8 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -31,31 +31,6 @@ app_setup_block: | Access the webui at `:8081`, for more information check out [SickGear]({{ project_url }}). - ## Migration - - Non linuxserver.io containers are known to have the following configuration differences and may need SickGear or docker changes to migrate an existing setup - - * The post processing directory which is volume mounted as `downloads` within this container may be `incoming` in other versions. - - * The permissions environmental variables which are defined as `PGID` and `PUID` within this container may have been `APP_UID` and `APP_UID` in other versions. - - * The configuration file directory which is volume mounted as `config` within this container may be set as the environmental variable `APP_DATA` in other versions. - - * The cache directory which is set in `config.ini` may be configured as a fixed path `cache_dir = /data/cache`. - Symptoms of this issue include port usage problems and a failure to start the web server log entries. - Whilst the container is stopped alter this directive to `cache_dir = cache` which will allow SickGear to look for the folder relative to the volume mounted `/config` directory. - - It is recommended that a clean install be completed, rather than a migration, however if migration is necessary: - - * start a new instance of this image - - * compare and align SickGear version numbers between old and new. Ideally they should match but at a minimum the old version should be a lower version number to allow SickGear itself to try and migrate - - * stop both containers - - * notice the configuration difference and migrate copies of the old settings into the new app - - * start the new container and test # init diagram init_diagram: | "sickgear:latest": { @@ -103,6 +78,7 @@ init_diagram: | "sickgear:latest" <- Base Images # changelog changelogs: + - {date: "09.07.25:", desc: "Rebase to Alpine 3.22."} - {date: "25.06.24:", desc: "Rebase to Alpine 3.20."} - {date: "20.03.24:", desc: "Rebase to Alpine 3.19."} - {date: "08.10.23:", desc: "Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar)."} From dd703951ed102109e69bd98e3583f34b9b46b735 Mon Sep 17 00:00:00 2001 From: thespad Date: Thu, 10 Jul 2025 17:46:02 +0100 Subject: [PATCH 2/2] Add missing version table --- readme-vars.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/readme-vars.yml b/readme-vars.yml index 07976d8..fe9124d 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -14,6 +14,11 @@ project_categories: "Media Management" available_architectures: - {arch: "{{ arch_x86_64 }}", tag: "amd64-latest"} - {arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"} +# development version +development_versions: true +development_versions_items: + - {tag: "latest", desc: "Stable SickGear releases"} + - {tag: "develop", desc: "SickGear develop branch commits"} # container parameters param_container_name: "{{ project_name }}" param_usage_include_vols: true