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

Commit 1a07df6

Browse files
committed
Rebase develop to 3.17, add PMM_LINUXSERVER
1 parent 8771306 commit 1a07df6

File tree

8 files changed

+30
-21
lines changed

8 files changed

+30
-21
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Comment on invalid interaction
2+
on:
3+
issues:
4+
types:
5+
- labeled
6+
jobs:
7+
add-comment-on-invalid:
8+
if: github.event.label.name == 'invalid'
9+
permissions:
10+
issues: write
11+
uses: linuxserver/github-workflows/.github/workflows/invalid-interaction-helper.yml@v1
12+
secrets: inherit

Dockerfile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/linuxserver/baseimage-alpine:3.16
1+
FROM ghcr.io/linuxserver/baseimage-alpine:3.17
22

33
# set version label
44
ARG BUILD_DATE
@@ -18,7 +18,6 @@ RUN \
1818
build-base \
1919
gcc \
2020
g++ \
21-
jq \
2221
libffi-dev \
2322
libxml2-dev \
2423
libzen-dev \
@@ -41,15 +40,13 @@ RUN \
4140
/tmp/pmm.tar.gz -C \
4241
/app/pmm --strip-components=1 && \
4342
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/ \
43+
python3 -m ensurepip && \
44+
pip3 install -U --no-cache-dir \
45+
pip \
4646
wheel && \
4747
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.16/ -r requirements.txt && \
4848
pip3 cache purge && \
4949
echo "**** cleanup ****" && \
50-
ln -s \
51-
/usr/bin/python3 \
52-
/usr/bin/python && \
5350
apk del --purge \
5451
build-dependencies && \
5552
rm -rf \

Dockerfile.aarch64

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.16
1+
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.17
22

33
# set version label
44
ARG BUILD_DATE
@@ -18,7 +18,6 @@ RUN \
1818
build-base \
1919
gcc \
2020
g++ \
21-
jq \
2221
libffi-dev \
2322
libxml2-dev \
2423
libzen-dev \
@@ -41,15 +40,13 @@ RUN \
4140
/tmp/pmm.tar.gz -C \
4241
/app/pmm --strip-components=1 && \
4342
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/ \
43+
python3 -m ensurepip && \
44+
pip3 install -U --no-cache-dir \
45+
pip \
4646
wheel && \
4747
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.16/ -r requirements.txt && \
4848
pip3 cache purge && \
4949
echo "**** cleanup ****" && \
50-
ln -s \
51-
/usr/bin/python3 \
52-
/usr/bin/python && \
5350
apk del --purge \
5451
build-dependencies && \
5552
rm -rf \

Dockerfile.armhf

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.16
1+
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.17
22

33
# set version label
44
ARG BUILD_DATE
@@ -18,7 +18,6 @@ RUN \
1818
build-base \
1919
gcc \
2020
g++ \
21-
jq \
2221
libffi-dev \
2322
libxml2-dev \
2423
libzen-dev \
@@ -41,15 +40,13 @@ RUN \
4140
/tmp/pmm.tar.gz -C \
4241
/app/pmm --strip-components=1 && \
4342
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/ \
43+
python3 -m ensurepip && \
44+
pip3 install -U --no-cache-dir \
45+
pip \
4646
wheel && \
4747
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.16/ -r requirements.txt && \
4848
pip3 cache purge && \
4949
echo "**** cleanup ****" && \
50-
ln -s \
51-
/usr/bin/python3 \
52-
/usr/bin/python && \
5350
apk del --purge \
5451
build-dependencies && \
5552
rm -rf \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
247247

248248
## Versions
249249

250+
* **11.12.22:** - Rebase develop to Alpine 3.17.
250251
* **08.11.22:** - Add develop branch.
251252
* **25.10.22:** - Support commandline args and relative paths.
252253
* **03.10.22:** - Rebase to Alpine 3.16, migrate to s6v3.

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 develop 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)