Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.

Commit e8c47e2

Browse files
authored
Merge pull request #10 from linuxserver/3.17
2 parents 83221ce + 39782f9 commit e8c47e2

File tree

6 files changed

+29
-30
lines changed

6 files changed

+29
-30
lines changed

Dockerfile

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
FROM ghcr.io/linuxserver/baseimage-alpine:3.16
1+
# syntax=docker/dockerfile:1
2+
3+
FROM ghcr.io/linuxserver/baseimage-alpine:3.17
24

35
# set version label
46
ARG BUILD_DATE
@@ -18,7 +20,6 @@ RUN \
1820
build-base \
1921
gcc \
2022
g++ \
21-
jq \
2223
libffi-dev \
2324
libxml2-dev \
2425
libzen-dev \
@@ -27,8 +28,7 @@ RUN \
2728
grep \
2829
libjpeg \
2930
libxslt \
30-
python3 \
31-
py3-pip && \
31+
python3 && \
3232
if [ -z ${PMM_VERSION+x} ]; then \
3333
PMM_VERSION=$(curl -s https://api.github.com/repos/meisnate12/Plex-Meta-Manager/releases \
3434
| jq -r 'first(.[]) | .tag_name'); \
@@ -41,15 +41,13 @@ RUN \
4141
/tmp/pmm.tar.gz -C \
4242
/app/pmm --strip-components=1 && \
4343
cd /app/pmm && \
44-
python3 -m pip install --upgrade pip && \
45-
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.16/ \
44+
python3 -m ensurepip && \
45+
pip3 install -U --no-cache-dir \
46+
pip \
4647
wheel && \
47-
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.16/ -r requirements.txt && \
48+
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.17/ -r requirements.txt && \
4849
pip3 cache purge && \
4950
echo "**** cleanup ****" && \
50-
ln -s \
51-
/usr/bin/python3 \
52-
/usr/bin/python && \
5351
apk del --purge \
5452
build-dependencies && \
5553
rm -rf \

Dockerfile.aarch64

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.16
1+
# syntax=docker/dockerfile:1
2+
3+
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.17
24

35
# set version label
46
ARG BUILD_DATE
@@ -18,7 +20,6 @@ RUN \
1820
build-base \
1921
gcc \
2022
g++ \
21-
jq \
2223
libffi-dev \
2324
libxml2-dev \
2425
libzen-dev \
@@ -27,8 +28,7 @@ RUN \
2728
grep \
2829
libjpeg \
2930
libxslt \
30-
python3 \
31-
py3-pip && \
31+
python3 && \
3232
if [ -z ${PMM_VERSION+x} ]; then \
3333
PMM_VERSION=$(curl -s https://api.github.com/repos/meisnate12/Plex-Meta-Manager/releases \
3434
| jq -r 'first(.[]) | .tag_name'); \
@@ -41,15 +41,13 @@ RUN \
4141
/tmp/pmm.tar.gz -C \
4242
/app/pmm --strip-components=1 && \
4343
cd /app/pmm && \
44-
python3 -m pip install --upgrade pip && \
45-
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.16/ \
44+
python3 -m ensurepip && \
45+
pip3 install -U --no-cache-dir \
46+
pip \
4647
wheel && \
47-
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.16/ -r requirements.txt && \
48+
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.17/ -r requirements.txt && \
4849
pip3 cache purge && \
4950
echo "**** cleanup ****" && \
50-
ln -s \
51-
/usr/bin/python3 \
52-
/usr/bin/python && \
5351
apk del --purge \
5452
build-dependencies && \
5553
rm -rf \

Dockerfile.armhf

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.16
1+
# syntax=docker/dockerfile:1
2+
3+
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.17
24

35
# set version label
46
ARG BUILD_DATE
@@ -18,7 +20,6 @@ RUN \
1820
build-base \
1921
gcc \
2022
g++ \
21-
jq \
2223
libffi-dev \
2324
libxml2-dev \
2425
libzen-dev \
@@ -27,8 +28,7 @@ RUN \
2728
grep \
2829
libjpeg \
2930
libxslt \
30-
python3 \
31-
py3-pip && \
31+
python3 && \
3232
if [ -z ${PMM_VERSION+x} ]; then \
3333
PMM_VERSION=$(curl -s https://api.github.com/repos/meisnate12/Plex-Meta-Manager/releases \
3434
| jq -r 'first(.[]) | .tag_name'); \
@@ -41,15 +41,13 @@ RUN \
4141
/tmp/pmm.tar.gz -C \
4242
/app/pmm --strip-components=1 && \
4343
cd /app/pmm && \
44-
python3 -m pip install --upgrade pip && \
45-
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.16/ \
44+
python3 -m ensurepip && \
45+
pip3 install -U --no-cache-dir \
46+
pip \
4647
wheel && \
47-
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.16/ -r requirements.txt && \
48+
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.17/ -r requirements.txt && \
4849
pip3 cache purge && \
4950
echo "**** cleanup ****" && \
50-
ln -s \
51-
/usr/bin/python3 \
52-
/usr/bin/python && \
5351
apk del --purge \
5452
build-dependencies && \
5553
rm -rf \

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ app_setup_block: |
6161
6262
# changelog
6363
changelogs:
64+
- { date: "11.12.22:", desc: "Rebase master to Alpine 3.17." }
6465
- { date: "08.11.22:", desc: "Add develop branch." }
6566
- { date: "25.10.22:", desc: "Support commandline args and relative paths." }
6667
- { date: "03.10.22:", desc: "Rebase to Alpine 3.16, migrate to s6v3." }

root/etc/s6-overlay/s6-rc.d/init-pmm-oneshot/run

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
IFS="|" read -r -a CLI_OPTIONS <<< "$CLI_OPTIONS_STRING"
44

5+
export PMM_LINUXSERVER=True
6+
57
cd / || exit 1
68

79
# halt startup if no config file is found

root/etc/s6-overlay/s6-rc.d/svc-pmm/run

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
IFS="|" read -r -a CLI_OPTIONS <<< "$CLI_OPTIONS_STRING"
44

5+
export PMM_LINUXSERVER=True
6+
57
cd / || exit 1
68

79
# halt startup if no config file is found

0 commit comments

Comments
 (0)