mirror of
https://github.com/linuxserver/docker-mylar3.git
synced 2026-02-20 08:40:39 +08:00
commit
ba9e77b341
0
.editorconfig
Executable file → Normal file
0
.editorconfig
Executable file → Normal file
0
.github/CONTRIBUTING.md
vendored
Executable file → Normal file
0
.github/CONTRIBUTING.md
vendored
Executable file → Normal file
0
.github/FUNDING.yml
vendored
Executable file → Normal file
0
.github/FUNDING.yml
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/config.yml
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/config.yml
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/issue.bug.yml
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/issue.bug.yml
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/issue.feature.yml
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/issue.feature.yml
vendored
Executable file → Normal file
0
.github/workflows/call_issue_pr_tracker.yml
vendored
Executable file → Normal file
0
.github/workflows/call_issue_pr_tracker.yml
vendored
Executable file → Normal file
0
.github/workflows/call_issues_cron.yml
vendored
Executable file → Normal file
0
.github/workflows/call_issues_cron.yml
vendored
Executable file → Normal file
0
.github/workflows/permissions.yml
vendored
Executable file → Normal file
0
.github/workflows/permissions.yml
vendored
Executable file → Normal file
44
Dockerfile
44
Dockerfile
@ -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
|
||||
|
||||
@ -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
2
Jenkinsfile
vendored
@ -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'
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -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."}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user