File tree Expand file tree Collapse file tree 16 files changed +55
-43
lines changed
init-config-end/dependencies.d Expand file tree Collapse file tree 16 files changed +55
-43
lines changed Original file line number Diff line number Diff line change 1
- FROM ghcr.io/linuxserver/baseimage-alpine:3.15
1
+ # syntax=docker/dockerfile:1
2
+
3
+ FROM ghcr.io/linuxserver/baseimage-alpine:3.17
2
4
3
5
# set version label
4
6
ARG BUILD_DATE
@@ -26,19 +28,19 @@ RUN \
26
28
ffmpeg \
27
29
libjpeg-turbo \
28
30
p7zip \
29
- py3-pip \
30
31
python3 \
31
32
sqlite \
32
33
tesseract-ocr && \
33
34
echo "**** install pyload ****" && \
34
35
if [ -z ${PYLOAD_VERSION+x} ]; then \
35
- PYLOAD="pyload-ng[all]" ; \
36
- else \
37
- PYLOAD="pyload-ng[all]==${PYLOAD_VERSION}" ; \
36
+ PYLOAD_VERSION=$(curl -sL https://pypi.python.org/pypi/pyload-ng/json |jq -r '. | .info.version' ); \
38
37
fi && \
39
- pip3 install -U pip setuptools wheel && \
40
- pip install -U --find-links https://wheel-index.linuxserver.io/alpine-3.15/ \
41
- "${PYLOAD}" && \
38
+ python3 -m ensurepip && \
39
+ pip3 install -U --no-cache-dir \
40
+ pip \
41
+ wheel && \
42
+ pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.17/ \
43
+ pyload-ng[all]=="${PYLOAD_VERSION}" && \
42
44
echo "**** cleanup ****" && \
43
45
apk del --purge \
44
46
build-dependencies && \
Original file line number Diff line number Diff line change 1
- FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.15
1
+ # syntax=docker/dockerfile:1
2
+
3
+ FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.17
2
4
3
5
# set version label
4
6
ARG BUILD_DATE
@@ -26,19 +28,19 @@ RUN \
26
28
ffmpeg \
27
29
libjpeg-turbo \
28
30
p7zip \
29
- py3-pip \
30
31
python3 \
31
32
sqlite \
32
33
tesseract-ocr && \
33
34
echo "**** install pyload ****" && \
34
35
if [ -z ${PYLOAD_VERSION+x} ]; then \
35
- PYLOAD="pyload-ng[all]"; \
36
- else \
37
- PYLOAD="pyload-ng[all]==${PYLOAD_VERSION}"; \
36
+ PYLOAD_VERSION=$(curl -sL https://pypi.python.org/pypi/pyload-ng/json |jq -r '. | .info.version'); \
38
37
fi && \
39
- pip3 install -U pip setuptools wheel && \
40
- pip install -U --find-links https://wheel-index.linuxserver.io/alpine-3.15/ \
41
- "${PYLOAD}" && \
38
+ python3 -m ensurepip && \
39
+ pip3 install -U --no-cache-dir \
40
+ pip \
41
+ wheel && \
42
+ pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.17/ \
43
+ pyload-ng[all]=="${PYLOAD_VERSION}" && \
42
44
echo "**** cleanup ****" && \
43
45
apk del --purge \
44
46
build-dependencies && \
Original file line number Diff line number Diff line change 1
- FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.15
1
+ # syntax=docker/dockerfile:1
2
+
3
+ FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.17
2
4
3
5
# set version label
4
6
ARG BUILD_DATE
@@ -26,19 +28,19 @@ RUN \
26
28
ffmpeg \
27
29
libjpeg-turbo \
28
30
p7zip \
29
- py3-pip \
30
31
python3 \
31
32
sqlite \
32
33
tesseract-ocr && \
33
34
echo "**** install pyload ****" && \
34
35
if [ -z ${PYLOAD_VERSION+x} ]; then \
35
- PYLOAD="pyload-ng[all]"; \
36
- else \
37
- PYLOAD="pyload-ng[all]==${PYLOAD_VERSION}"; \
36
+ PYLOAD_VERSION=$(curl -sL https://pypi.python.org/pypi/pyload-ng/json |jq -r '. | .info.version'); \
38
37
fi && \
39
- pip3 install -U pip setuptools wheel && \
40
- pip install -U --find-links https://wheel-index.linuxserver.io/alpine-3.15/ \
41
- "${PYLOAD}" && \
38
+ python3 -m ensurepip && \
39
+ pip3 install -U --no-cache-dir \
40
+ pip \
41
+ wheel && \
42
+ pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.17/ \
43
+ pyload-ng[all]=="${PYLOAD_VERSION}" && \
42
44
echo "**** cleanup ****" && \
43
45
apk del --purge \
44
46
build-dependencies && \
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ app_setup_block: |
50
50
51
51
# changelog
52
52
changelogs :
53
+ - { date: "02.02.22:", desc: "Rebase master to alpine 3.17." }
53
54
- { date: "02.02.22:", desc: "Add ffmpeg for the Youtube plugin." }
54
55
- { date: "24.01.22:", desc: "Replace unrar with p7zip." }
55
56
- { date: "24.01.22:", desc: "Initial release." }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/with-contenv bash
2
+ # shellcheck shell=bash
3
+
4
+ # create our folders
5
+ mkdir -p \
6
+ /config/settings \
7
+ /downloads
8
+
9
+ # default config file
10
+ cp -n \
11
+ /defaults/pyload.cfg \
12
+ /config/settings/pyload.cfg
13
+
14
+ # permissions
15
+ lsiown -R abc:abc \
16
+ /config
17
+ lsiown abc:abc \
18
+ /downloads
Original file line number Diff line number Diff line change
1
+ oneshot
Original file line number Diff line number Diff line change
1
+ /etc/s6-overlay/s6-rc.d/init-pyload-config/run
You can’t perform that action at this time.
0 commit comments