Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .editorconfig
100755 → 100644
Empty file.
Empty file modified .github/CONTRIBUTING.md
100755 → 100644
Empty file.
Empty file modified .github/FUNDING.yml
100755 → 100644
Empty file.
Empty file modified .github/ISSUE_TEMPLATE/config.yml
100755 → 100644
Empty file.
Empty file modified .github/ISSUE_TEMPLATE/issue.bug.yml
100755 → 100644
Empty file.
Empty file modified .github/ISSUE_TEMPLATE/issue.feature.yml
100755 → 100644
Empty file.
Empty file modified .github/workflows/call_issue_pr_tracker.yml
100755 → 100644
Empty file.
Empty file modified .github/workflows/call_issues_cron.yml
100755 → 100644
Empty file.
Empty file modified .github/workflows/permissions.yml
100755 → 100644
Empty file.
44 changes: 28 additions & 16 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM ghcr.io/linuxserver/unrar:latest as unrar

FROM ghcr.io/linuxserver/baseimage-alpine:3.19
FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy

# set version label
ARG BUILD_DATE
Expand All @@ -11,22 +11,25 @@ ARG MYLAR3_RELEASE
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="aptalca"

ARG DEBIAN_FRONTEND="noninteractive"

RUN \
echo "**** install build dependencies ****" && \
apk add --no-cache --virtual=build-dependencies \
build-base \
jpeg-dev \
apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
libffi-dev \
libjpeg9-dev \
libwebp-dev \
python3-dev \
zlib-dev && \
zlib1g-dev && \
echo "**** install runtime packages ****" && \
apk add --no-cache \
jpeg \
libwebp-tools \
apt-get install -y --no-install-recommends \
libjpeg9 \
nodejs \
python3 \
zlib && \
python3-venv \
webp \
zlib1g-dev && \
echo "**** install mylar3 ****" && \
if [ -z ${MYLAR3_RELEASE+x} ]; then \
MYLAR3_RELEASE=$(curl -sX GET https://api.github.com/repos/mylar3/mylar3/releases/latest \
Expand All @@ -43,19 +46,28 @@ RUN \
pip install -U --no-cache-dir \
pip \
wheel && \
pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.19/ -r requirements.txt && \
pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r requirements.txt && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
apt-get -y purge \
build-essential \
libffi-dev \
libjpeg9-dev \
libwebp-dev \
python3-dev \
zlib1g-dev && \
apt-get -y autoremove && \
rm -rf \
/root/.cache \
/tmp/*
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/* \
$HOME/.cache

# add local files
COPY root/ /

# add unrar
COPY --from=unrar /usr/bin/unrar-alpine /usr/bin/unrar
COPY --from=unrar /usr/bin/unrar-ubuntu /usr/bin/unrar

# ports and volumes
VOLUME /config
Expand Down
44 changes: 28 additions & 16 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM ghcr.io/linuxserver/unrar:arm64v8-latest as unrar

FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.19
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-jammy

# set version label
ARG BUILD_DATE
Expand All @@ -11,22 +11,25 @@ ARG MYLAR3_RELEASE
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="aptalca"

ARG DEBIAN_FRONTEND="noninteractive"

RUN \
echo "**** install build dependencies ****" && \
apk add --no-cache --virtual=build-dependencies \
build-base \
jpeg-dev \
apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
libffi-dev \
libjpeg9-dev \
libwebp-dev \
python3-dev \
zlib-dev && \
zlib1g-dev && \
echo "**** install runtime packages ****" && \
apk add --no-cache \
jpeg \
libwebp-tools \
apt-get install -y --no-install-recommends \
libjpeg9 \
nodejs \
python3 \
zlib && \
python3-venv \
webp \
zlib1g-dev && \
echo "**** install mylar3 ****" && \
if [ -z ${MYLAR3_RELEASE+x} ]; then \
MYLAR3_RELEASE=$(curl -sX GET https://api.github.com/repos/mylar3/mylar3/releases/latest \
Expand All @@ -43,19 +46,28 @@ RUN \
pip install -U --no-cache-dir \
pip \
wheel && \
pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.19/ -r requirements.txt && \
pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/ubuntu/ -r requirements.txt && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
apt-get -y purge \
build-essential \
libffi-dev \
libjpeg9-dev \
libwebp-dev \
python3-dev \
zlib1g-dev && \
apt-get -y autoremove && \
rm -rf \
/root/.cache \
/tmp/*
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/* \
$HOME/.cache

# add local files
COPY root/ /

# add unrar
COPY --from=unrar /usr/bin/unrar-alpine /usr/bin/unrar
COPY --from=unrar /usr/bin/unrar-ubuntu /usr/bin/unrar

# ports and volumes
VOLUME /config
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pipeline {
DOCKERHUB_IMAGE = 'linuxserver/mylar3'
DEV_DOCKERHUB_IMAGE = 'lsiodev/mylar3'
PR_DOCKERHUB_IMAGE = 'lspipepr/mylar3'
DIST_IMAGE = 'alpine'
DIST_IMAGE = 'ubuntu'
MULTIARCH='true'
CI='true'
CI_WEB='true'
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **21.11.25:** - Rebase to Ubuntu Jammy.
* **23.12.23:** - Rebase to Alpine 3.19.
* **16.08.23:** - Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar).
* **10.08.23:** - Bump unrar to 6.2.10.
Expand Down
2 changes: 1 addition & 1 deletion jenkins-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repo_vars:
- DOCKERHUB_IMAGE = 'linuxserver/mylar3'
- DEV_DOCKERHUB_IMAGE = 'lsiodev/mylar3'
- PR_DOCKERHUB_IMAGE = 'lspipepr/mylar3'
- DIST_IMAGE = 'alpine'
- DIST_IMAGE = 'ubuntu'
- MULTIARCH='true'
- CI='true'
- CI_WEB='true'
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ init_diagram: |
"mylar3:latest" <- Base Images
# changelog
changelogs:
- {date: "21.11.25:", desc: "Rebase to Ubuntu Jammy."}
- {date: "23.12.23:", desc: "Rebase to Alpine 3.19."}
- {date: "16.08.23:", desc: "Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar)."}
- {date: "10.08.23:", desc: "Bump unrar to 6.2.10."}
Expand Down