Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM ghcr.io/linuxserver/baseimage-alpine:3.15
# syntax=docker/dockerfile:1

FROM ghcr.io/linuxserver/baseimage-alpine:3.17

# set version label
ARG BUILD_DATE
Expand Down Expand Up @@ -26,19 +28,19 @@ RUN \
ffmpeg \
libjpeg-turbo \
p7zip \
py3-pip \
python3 \
sqlite \
tesseract-ocr && \
echo "**** install pyload ****" && \
if [ -z ${PYLOAD_VERSION+x} ]; then \
PYLOAD="pyload-ng[all]"; \
else \
PYLOAD="pyload-ng[all]==${PYLOAD_VERSION}"; \
PYLOAD_VERSION=$(curl -sL https://pypi.python.org/pypi/pyload-ng/json |jq -r '. | .info.version'); \
fi && \
pip3 install -U pip setuptools wheel && \
pip install -U --find-links https://wheel-index.linuxserver.io/alpine-3.15/ \
"${PYLOAD}" && \
python3 -m ensurepip && \
pip3 install -U --no-cache-dir \
pip \
wheel && \
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.17/ \
pyload-ng[all]=="${PYLOAD_VERSION}" && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
Expand Down
18 changes: 10 additions & 8 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.15
# syntax=docker/dockerfile:1

FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.17

# set version label
ARG BUILD_DATE
Expand Down Expand Up @@ -26,19 +28,19 @@ RUN \
ffmpeg \
libjpeg-turbo \
p7zip \
py3-pip \
python3 \
sqlite \
tesseract-ocr && \
echo "**** install pyload ****" && \
if [ -z ${PYLOAD_VERSION+x} ]; then \
PYLOAD="pyload-ng[all]"; \
else \
PYLOAD="pyload-ng[all]==${PYLOAD_VERSION}"; \
PYLOAD_VERSION=$(curl -sL https://pypi.python.org/pypi/pyload-ng/json |jq -r '. | .info.version'); \
fi && \
pip3 install -U pip setuptools wheel && \
pip install -U --find-links https://wheel-index.linuxserver.io/alpine-3.15/ \
"${PYLOAD}" && \
python3 -m ensurepip && \
pip3 install -U --no-cache-dir \
pip \
wheel && \
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.17/ \
pyload-ng[all]=="${PYLOAD_VERSION}" && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
Expand Down
18 changes: 10 additions & 8 deletions Dockerfile.armhf
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.15
# syntax=docker/dockerfile:1

FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.17

# set version label
ARG BUILD_DATE
Expand Down Expand Up @@ -26,19 +28,19 @@ RUN \
ffmpeg \
libjpeg-turbo \
p7zip \
py3-pip \
python3 \
sqlite \
tesseract-ocr && \
echo "**** install pyload ****" && \
if [ -z ${PYLOAD_VERSION+x} ]; then \
PYLOAD="pyload-ng[all]"; \
else \
PYLOAD="pyload-ng[all]==${PYLOAD_VERSION}"; \
PYLOAD_VERSION=$(curl -sL https://pypi.python.org/pypi/pyload-ng/json |jq -r '. | .info.version'); \
fi && \
pip3 install -U pip setuptools wheel && \
pip install -U --find-links https://wheel-index.linuxserver.io/alpine-3.15/ \
"${PYLOAD}" && \
python3 -m ensurepip && \
pip3 install -U --no-cache-dir \
pip \
wheel && \
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.17/ \
pyload-ng[all]=="${PYLOAD_VERSION}" && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ app_setup_block: |

# changelog
changelogs:
- { date: "02.02.22:", desc: "Rebase master to alpine 3.17." }
- { date: "02.02.22:", desc: "Add ffmpeg for the Youtube plugin." }
- { date: "24.01.22:", desc: "Replace unrar with p7zip." }
- { date: "24.01.22:", desc: "Initial release." }
19 changes: 0 additions & 19 deletions root/etc/cont-init.d/30-config

This file was deleted.

18 changes: 18 additions & 0 deletions root/etc/s6-overlay/s6-rc.d/init-pyload-config/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash

# create our folders
mkdir -p \
/config/settings \
/downloads

# default config file
cp -n \
/defaults/pyload.cfg \
/config/settings/pyload.cfg

# permissions
lsiown -R abc:abc \
/config
lsiown abc:abc \
/downloads
1 change: 1 addition & 0 deletions root/etc/s6-overlay/s6-rc.d/init-pyload-config/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
oneshot
1 change: 1 addition & 0 deletions root/etc/s6-overlay/s6-rc.d/init-pyload-config/up
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-pyload-config/run
Empty file.
1 change: 1 addition & 0 deletions root/etc/s6-overlay/s6-rc.d/svc-pyload/notification-fd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3
2 changes: 2 additions & 0 deletions root/etc/services.d/pyload/run → root/etc/s6-overlay/s6-rc.d/svc-pyload/run
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash

exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8000" \
s6-setuidgid abc pyload --userdir /config --storagedir /downloads
1 change: 1 addition & 0 deletions root/etc/s6-overlay/s6-rc.d/svc-pyload/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
longrun
Empty file.
Empty file.