Merge pull request #48 from linuxserver/ubuntu

rebase to ubuntu jammy
This commit is contained in:
aptalca 2025-11-22 14:02:59 -05:00 committed by GitHub
commit ba9e77b341
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
15 changed files with 60 additions and 34 deletions

0
.editorconfig Executable file → Normal file
View File

0
.github/CONTRIBUTING.md vendored Executable file → Normal file
View File

0
.github/FUNDING.yml vendored Executable file → Normal file
View File

0
.github/ISSUE_TEMPLATE/config.yml vendored Executable file → Normal file
View File

0
.github/ISSUE_TEMPLATE/issue.bug.yml vendored Executable file → Normal file
View File

0
.github/ISSUE_TEMPLATE/issue.feature.yml vendored Executable file → Normal file
View File

0
.github/workflows/call_issue_pr_tracker.yml vendored Executable file → Normal file
View File

0
.github/workflows/call_issues_cron.yml vendored Executable file → Normal file
View File

0
.github/workflows/permissions.yml vendored Executable file → Normal file
View File

View File

@ -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
@ -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 \
@ -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

View File

@ -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
@ -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 \
@ -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

2
Jenkinsfile vendored
View File

@ -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'

View File

@ -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.

View File

@ -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'

View File

@ -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."}