Skip to content

Commit 5302a9a

Browse files
authored
Merge pull request #58 from linuxserver/nightly-fork
2 parents 42d438e + 987cc17 commit 5302a9a

8 files changed

Lines changed: 59 additions & 84 deletions

File tree

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
github: linuxserver
22
open_collective: linuxserver
3-
custom: ["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EWQADB5AMVRFU",]

.github/workflows/external_trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
3030
echo "> External trigger running off of nightly branch. To disable this trigger, add \`mylar3_nightly\` into the Github organizational variable \`SKIP_EXTERNAL_TRIGGER\`." >> $GITHUB_STEP_SUMMARY
3131
printf "\n## Retrieving external version\n\n" >> $GITHUB_STEP_SUMMARY
32-
EXT_RELEASE=$(curl -u "${{ secrets.CR_USER }}:${{ secrets.CR_PAT }}" -sX GET "https://api.github.com/repos/mylar3/mylar3/commits/1000papercuts" | jq -r '. | .sha' | cut -c1-8)
32+
EXT_RELEASE=$(curl -u "${{ secrets.CR_USER }}:${{ secrets.CR_PAT }}" -sX GET "https://api.github.com/repos/MylarComics/mylar3/commits/nightly" | jq -r '. | .sha' | cut -c1-8)
3333
echo "Type is \`github_commit\`" >> $GITHUB_STEP_SUMMARY
3434
if grep -q "^mylar3_nightly_${EXT_RELEASE}" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
3535
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY

Dockerfile

Lines changed: 18 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
FROM ghcr.io/linuxserver/unrar:latest AS unrar
44

5-
FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy
5+
FROM ghcr.io/linuxserver/baseimage-alpine:3.23
66

77
# set version label
88
ARG BUILD_DATE
@@ -11,57 +11,46 @@ ARG MYLAR3_RELEASE
1111
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
1212
LABEL maintainer="aptalca"
1313

14-
ARG DEBIAN_FRONTEND="noninteractive"
15-
1614
RUN \
1715
echo "**** install build dependencies ****" && \
18-
apt-get update && \
19-
apt-get install -y --no-install-recommends \
20-
build-essential \
16+
apk add --no-cache --virtual=build-dependencies \
17+
build-base \
18+
jpeg-dev \
2119
libffi-dev \
22-
libjpeg9-dev \
2320
libwebp-dev \
2421
python3-dev \
25-
zlib1g-dev && \
22+
zlib-dev && \
2623
echo "**** install runtime packages ****" && \
27-
apt-get install -y --no-install-recommends \
28-
libjpeg9 \
24+
apk add --no-cache \
25+
jpeg \
26+
libwebp-tools \
2927
nodejs \
30-
python3-venv \
31-
webp \
32-
zlib1g-dev && \
28+
python3 \
29+
zlib && \
3330
echo "**** install mylar3 ****" && \
3431
if [ -z ${MYLAR3_RELEASE+x} ]; then \
35-
MYLAR3_RELEASE=$(curl -sX GET https://api.github.com/repos/mylar3/mylar3/commits/1000papercuts \
32+
MYLAR3_RELEASE=$(curl -sX GET https://api.github.com/repos/MylarComics/mylar3/commits/nightly \
3633
| jq -r '.sha' | cut -c1-8); \
3734
fi && \
3835
mkdir /app/mylar3 && \
3936
curl -o \
4037
/tmp/mylar3.tar.gz -L \
41-
"https://github.com/mylar3/mylar3/archive/${MYLAR3_RELEASE}.tar.gz" && \
38+
"https://github.com/MylarComics/mylar3/archive/${MYLAR3_RELEASE}.tar.gz" && \
4239
tar xf /tmp/mylar3.tar.gz -C \
4340
/app/mylar3/ --strip-components=1 && \
4441
cd /app/mylar3 && \
4542
python3 -m venv /lsiopy && \
4643
pip install -U --no-cache-dir \
4744
pip \
48-
wheel && \
49-
pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r requirements.txt && \
45+
setuptools && \
46+
pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.23/ -r requirements.txt && \
5047
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
5148
echo "**** cleanup ****" && \
52-
apt-get -y purge \
53-
build-essential \
54-
libffi-dev \
55-
libjpeg9-dev \
56-
libwebp-dev \
57-
python3-dev \
58-
zlib1g-dev && \
59-
apt-get -y autoremove && \
49+
apk del --purge \
50+
build-dependencies && \
6051
rm -rf \
61-
/tmp/* \
62-
/var/lib/apt/lists/* \
63-
/var/tmp/* \
64-
$HOME/.cache
52+
$HOME/.cache \
53+
/tmp/*
6554

6655
# add local files
6756
COPY root/ /

Dockerfile.aarch64

Lines changed: 18 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
FROM ghcr.io/linuxserver/unrar:arm64v8-latest AS unrar
44

5-
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-jammy
5+
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.23
66

77
# set version label
88
ARG BUILD_DATE
@@ -11,57 +11,46 @@ ARG MYLAR3_RELEASE
1111
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
1212
LABEL maintainer="aptalca"
1313

14-
ARG DEBIAN_FRONTEND="noninteractive"
15-
1614
RUN \
1715
echo "**** install build dependencies ****" && \
18-
apt-get update && \
19-
apt-get install -y --no-install-recommends \
20-
build-essential \
16+
apk add --no-cache --virtual=build-dependencies \
17+
build-base \
18+
jpeg-dev \
2119
libffi-dev \
22-
libjpeg9-dev \
2320
libwebp-dev \
2421
python3-dev \
25-
zlib1g-dev && \
22+
zlib-dev && \
2623
echo "**** install runtime packages ****" && \
27-
apt-get install -y --no-install-recommends \
28-
libjpeg9 \
24+
apk add --no-cache \
25+
jpeg \
26+
libwebp-tools \
2927
nodejs \
30-
python3-venv \
31-
webp \
32-
zlib1g-dev && \
28+
python3 \
29+
zlib && \
3330
echo "**** install mylar3 ****" && \
3431
if [ -z ${MYLAR3_RELEASE+x} ]; then \
35-
MYLAR3_RELEASE=$(curl -sX GET https://api.github.com/repos/mylar3/mylar3/commits/1000papercuts \
32+
MYLAR3_RELEASE=$(curl -sX GET https://api.github.com/repos/MylarComics/mylar3/commits/nightly \
3633
| jq -r '.sha' | cut -c1-8); \
3734
fi && \
3835
mkdir /app/mylar3 && \
3936
curl -o \
4037
/tmp/mylar3.tar.gz -L \
41-
"https://github.com/mylar3/mylar3/archive/${MYLAR3_RELEASE}.tar.gz" && \
38+
"https://github.com/MylarComics/mylar3/archive/${MYLAR3_RELEASE}.tar.gz" && \
4239
tar xf /tmp/mylar3.tar.gz -C \
4340
/app/mylar3/ --strip-components=1 && \
4441
cd /app/mylar3 && \
4542
python3 -m venv /lsiopy && \
4643
pip install -U --no-cache-dir \
4744
pip \
48-
wheel && \
49-
pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r requirements.txt && \
45+
setuptools && \
46+
pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.23/ -r requirements.txt && \
5047
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
5148
echo "**** cleanup ****" && \
52-
apt-get -y purge \
53-
build-essential \
54-
libffi-dev \
55-
libjpeg9-dev \
56-
libwebp-dev \
57-
python3-dev \
58-
zlib1g-dev && \
59-
apt-get -y autoremove && \
49+
apk del --purge \
50+
build-dependencies && \
6051
rm -rf \
61-
/tmp/* \
62-
/var/lib/apt/lists/* \
63-
/var/tmp/* \
64-
$HOME/.cache
52+
$HOME/.cache \
53+
/tmp/*
6554

6655
# add local files
6756
COPY root/ /

Jenkinsfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ pipeline {
1919
DOCKERHUB_TOKEN=credentials('docker-hub-ci-pat')
2020
QUAYIO_API_TOKEN=credentials('quayio-repo-api-token')
2121
GIT_SIGNING_KEY=credentials('484fbca6-9a4f-455e-b9e3-97ac98785f5f')
22-
EXT_GIT_BRANCH = '1000papercuts'
23-
EXT_USER = 'mylar3'
22+
EXT_GIT_BRANCH = 'nightly'
23+
EXT_USER = 'MylarComics'
2424
EXT_REPO = 'mylar3'
2525
BUILD_VERSION_ARG = 'MYLAR3_RELEASE'
2626
LS_USER = 'linuxserver'
@@ -29,14 +29,14 @@ pipeline {
2929
DOCKERHUB_IMAGE = 'linuxserver/mylar3'
3030
DEV_DOCKERHUB_IMAGE = 'lsiodev/mylar3'
3131
PR_DOCKERHUB_IMAGE = 'lspipepr/mylar3'
32-
DIST_IMAGE = 'ubuntu'
32+
DIST_IMAGE = 'alpine'
3333
MULTIARCH='true'
3434
CI='true'
3535
CI_WEB='true'
3636
CI_PORT='8090'
3737
CI_SSL='false'
3838
CI_DELAY='120'
39-
CI_DOCKERENV='TZ=US/Pacific'
39+
CI_DOCKERENV='TZ=Etc/UTC'
4040
CI_AUTH='user:password'
4141
CI_WEBPATH=''
4242
}
@@ -97,7 +97,7 @@ pipeline {
9797
env.CODE_URL = 'https://github.com/' + env.LS_USER + '/' + env.LS_REPO + '/commit/' + env.GIT_COMMIT
9898
env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DOCKERHUB_IMAGE + '/tags/'
9999
env.PULL_REQUEST = env.CHANGE_ID
100-
env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE .editorconfig ./.github/CONTRIBUTING.md ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE/config.yml ./.github/ISSUE_TEMPLATE/issue.bug.yml ./.github/ISSUE_TEMPLATE/issue.feature.yml ./.github/PULL_REQUEST_TEMPLATE.md ./.github/workflows/external_trigger_scheduler.yml ./.github/workflows/greetings.yml ./.github/workflows/package_trigger_scheduler.yml ./.github/workflows/call_issue_pr_tracker.yml ./.github/workflows/call_issues_cron.yml ./.github/workflows/permissions.yml ./.github/workflows/external_trigger.yml ./root/donate.txt'
100+
env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE .editorconfig ./.github/CONTRIBUTING.md ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE/config.yml ./.github/ISSUE_TEMPLATE/issue.bug.yml ./.github/ISSUE_TEMPLATE/issue.feature.yml ./.github/PULL_REQUEST_TEMPLATE.md ./.github/workflows/external_trigger_scheduler.yml ./.github/workflows/greetings.yml ./.github/workflows/package_trigger_scheduler.yml ./.github/workflows/call_issue_pr_tracker.yml ./.github/workflows/call_issues_cron.yml ./.github/workflows/permissions.yml ./.github/workflows/external_trigger.yml'
101101
if ( env.SYFT_IMAGE_TAG == null ) {
102102
env.SYFT_IMAGE_TAG = 'latest'
103103
}
@@ -603,7 +603,7 @@ pipeline {
603603
--label \"org.opencontainers.image.licenses=GPL-3.0-only\" \
604604
--label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \
605605
--label \"org.opencontainers.image.title=Mylar3\" \
606-
--label \"org.opencontainers.image.description=[Mylar3](https://github.com/mylar3/mylar3) is an automated Comic Book downloader (cbr/cbz) for use with NZB and torrents written in python. It supports SABnzbd, NZBGET, and many torrent clients in addition to DDL.\" \
606+
--label \"org.opencontainers.image.description=[Mylar3](https://github.com/MylarComics/mylar3) is an automated Comic Book downloader (cbr/cbz) for use with NZB and torrents written in python. It supports SABnzbd, NZBGET, and many torrent clients in addition to DDL.\" \
607607
--no-cache --pull -t ${IMAGE}:${META_TAG} --platform=linux/amd64 \
608608
--provenance=true --sbom=true --builder=container --load \
609609
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
@@ -672,7 +672,7 @@ pipeline {
672672
--label \"org.opencontainers.image.licenses=GPL-3.0-only\" \
673673
--label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \
674674
--label \"org.opencontainers.image.title=Mylar3\" \
675-
--label \"org.opencontainers.image.description=[Mylar3](https://github.com/mylar3/mylar3) is an automated Comic Book downloader (cbr/cbz) for use with NZB and torrents written in python. It supports SABnzbd, NZBGET, and many torrent clients in addition to DDL.\" \
675+
--label \"org.opencontainers.image.description=[Mylar3](https://github.com/MylarComics/mylar3) is an automated Comic Book downloader (cbr/cbz) for use with NZB and torrents written in python. It supports SABnzbd, NZBGET, and many torrent clients in addition to DDL.\" \
676676
--no-cache --pull -t ${IMAGE}:amd64-${META_TAG} --platform=linux/amd64 \
677677
--provenance=true --sbom=true --builder=container --load \
678678
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
@@ -734,7 +734,7 @@ pipeline {
734734
--label \"org.opencontainers.image.licenses=GPL-3.0-only\" \
735735
--label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \
736736
--label \"org.opencontainers.image.title=Mylar3\" \
737-
--label \"org.opencontainers.image.description=[Mylar3](https://github.com/mylar3/mylar3) is an automated Comic Book downloader (cbr/cbz) for use with NZB and torrents written in python. It supports SABnzbd, NZBGET, and many torrent clients in addition to DDL.\" \
737+
--label \"org.opencontainers.image.description=[Mylar3](https://github.com/MylarComics/mylar3) is an automated Comic Book downloader (cbr/cbz) for use with NZB and torrents written in python. It supports SABnzbd, NZBGET, and many torrent clients in addition to DDL.\" \
738738
--no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} --platform=linux/arm64 \
739739
--provenance=true --sbom=true --builder=container --load \
740740
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ Find us at:
3737
[![Jenkins Build](https://img.shields.io/jenkins/build?labelColor=555555&logoColor=ffffff&style=for-the-badge&jobUrl=https%3A%2F%2Fci.linuxserver.io%2Fjob%2FDocker-Pipeline-Builders%2Fjob%2Fdocker-mylar3%2Fjob%2Fnightly%2F&logo=jenkins)](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-mylar3/job/nightly/)
3838
[![LSIO CI](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=CI&query=CI&url=https%3A%2F%2Fci-tests.linuxserver.io%2Flinuxserver%2Fmylar3%2Fnightly%2Fci-status.yml)](https://ci-tests.linuxserver.io/linuxserver/mylar3/nightly/index.html)
3939

40-
[Mylar3](https://github.com/mylar3/mylar3) is an automated Comic Book downloader (cbr/cbz) for use with NZB and torrents written in python. It supports SABnzbd, NZBGET, and many torrent clients in addition to DDL.
40+
[Mylar3](https://github.com/MylarComics/mylar3) is an automated Comic Book downloader (cbr/cbz) for use with NZB and torrents written in python. It supports SABnzbd, NZBGET, and many torrent clients in addition to DDL.
4141

42-
[![mylar3](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/mylar-icon.png)](https://github.com/mylar3/mylar3)
42+
[![mylar3](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/mylar-icon.png)](https://github.com/MylarComics/mylar3)
4343

4444
## Supported Architectures
4545

@@ -60,14 +60,13 @@ This image provides various versions that are available via tags. Please read th
6060

6161
| Tag | Available | Description |
6262
| :----: | :----: |--- |
63-
| latest || Commits to Mylar3 `python3-dev` branch |
64-
| nightly || Commits to Mylar3 `1000papercuts` branch (ubuntu) |
65-
| unstable || Commits to Mylar3 `1000papercuts` branch (alpine) |
63+
| latest || Stable releases |
64+
| nightly || Commits to nightly branch |
6665

6766
## Application Setup
6867

6968
The web ui for settings etc, is on `http://SERVERIP:8090`
70-
For more detailed setup options, refer to [Mylar3](https://github.com/mylar3/mylar3).
69+
For more detailed setup options, refer to [Mylar3](https://github.com/MylarComics/mylar3).
7170

7271
## Usage
7372

@@ -289,6 +288,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
289288

290289
## Versions
291290

291+
* **06.04.26:** - Switch upstream to maintained fork at https://github.com/MylarComics/mylar3. Drop `unstable` tag. Rebase to Alpine 3.23.
292292
* **19.02.26:** - Rebase `nightly` tag to build commits from upstream `1000papercuts` branch.
293293
* **05.02.26:** - Release `unstable` tag based on commits to upstream `1000papercuts` branch.
294294
* **10.11.25:** - Rebase to Ubuntu Jammy.

jenkins-vars.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ release_type: prerelease
77
release_tag: nightly
88
ls_branch: nightly
99
repo_vars:
10-
- EXT_GIT_BRANCH = '1000papercuts'
11-
- EXT_USER = 'mylar3'
10+
- EXT_GIT_BRANCH = 'nightly'
11+
- EXT_USER = 'MylarComics'
1212
- EXT_REPO = 'mylar3'
1313
- BUILD_VERSION_ARG = 'MYLAR3_RELEASE'
1414
- LS_USER = 'linuxserver'
@@ -17,15 +17,13 @@ repo_vars:
1717
- DOCKERHUB_IMAGE = 'linuxserver/mylar3'
1818
- DEV_DOCKERHUB_IMAGE = 'lsiodev/mylar3'
1919
- PR_DOCKERHUB_IMAGE = 'lspipepr/mylar3'
20-
- DIST_IMAGE = 'ubuntu'
20+
- DIST_IMAGE = 'alpine'
2121
- MULTIARCH='true'
2222
- CI='true'
2323
- CI_WEB='true'
2424
- CI_PORT='8090'
2525
- CI_SSL='false'
2626
- CI_DELAY='120'
27-
- CI_DOCKERENV='TZ=US/Pacific'
27+
- CI_DOCKERENV='TZ=Etc/UTC'
2828
- CI_AUTH='user:password'
2929
- CI_WEBPATH=''
30-
sponsor_links:
31-
- { name: "Mylar3", url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EWQADB5AMVRFU" }

readme-vars.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# project information
44
project_name: mylar3
5-
project_url: "https://github.com/mylar3/mylar3"
5+
project_url: "https://github.com/MylarComics/mylar3"
66
project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/mylar-icon.png"
77
project_blurb: "[{{ project_name|capitalize }}]({{ project_url }}) is an automated Comic Book downloader (cbr/cbz) for use with NZB and torrents written in python. It supports SABnzbd, NZBGET, and many torrent clients in addition to DDL."
88
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
@@ -13,9 +13,8 @@ available_architectures:
1313
# development version
1414
development_versions: true
1515
development_versions_items:
16-
- {tag: "latest", desc: "Commits to Mylar3 `python3-dev` branch"}
17-
- {tag: "nightly", desc: "Commits to Mylar3 `1000papercuts` branch (ubuntu)"}
18-
- {tag: "unstable", desc: "Commits to Mylar3 `1000papercuts` branch (alpine)"}
16+
- {tag: "latest", desc: "Stable releases"}
17+
- {tag: "nightly", desc: "Commits to nightly branch"}
1918
# container parameters
2019
param_container_name: "{{ project_name }}"
2120
param_usage_include_vols: true
@@ -79,6 +78,7 @@ init_diagram: |
7978
"mylar3:nightly" <- Base Images
8079
# changelog
8180
changelogs:
81+
- {date: "06.04.26:", desc: "Switch upstream to maintained fork at https://github.com/MylarComics/mylar3. Drop `unstable` tag. Rebase to Alpine 3.23."}
8282
- {date: "19.02.26:", desc: "Rebase `nightly` tag to build commits from upstream `1000papercuts` branch."}
8383
- {date: "05.02.26:", desc: "Release `unstable` tag based on commits to upstream `1000papercuts` branch."}
8484
- {date: "10.11.25:", desc: "Rebase to Ubuntu Jammy."}

0 commit comments

Comments
 (0)