Skip to content

Commit adce182

Browse files
CHBMBthelamer
authored andcommitted
Add python packages
Apprise, chardet & pynzbget packages to enable nzbnotify.
1 parent 8d9b204 commit adce182

5 files changed

Lines changed: 47 additions & 3 deletions

File tree

Dockerfile

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
6262
LABEL maintainer="sparklyballs,thelamer"
6363

6464
RUN \
65+
echo "**** install build packages ****" && \
66+
apk add --no-cache --upgrade --virtual=build-dependencies \
67+
py2-pip && \
6568
echo "**** install packages ****" && \
6669
apk add --no-cache \
6770
curl \
@@ -70,7 +73,18 @@ RUN \
7073
p7zip \
7174
python2 \
7275
unrar \
73-
wget
76+
wget && \
77+
echo "**** install python packages ****" && \
78+
pip install --no-cache-dir \
79+
apprise \
80+
chardet \
81+
pynzbget &&\
82+
echo "**** cleanup ****" && \
83+
apk del --purge \
84+
build-dependencies && \
85+
rm -rf \
86+
/root/.cache \
87+
/tmp/*
7488

7589
# add local files and files from buildstage
7690
COPY --from=buildstage /app/nzbget /app/nzbget

Dockerfile.aarch64

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
6262
LABEL maintainer="sparklyballs,thelamer"
6363

6464
RUN \
65+
echo "**** install build packages ****" && \
66+
apk add --no-cache --upgrade --virtual=build-dependencies \
67+
py2-pip && \
6568
echo "**** install packages ****" && \
6669
apk add --no-cache \
6770
curl \
@@ -70,7 +73,18 @@ RUN \
7073
p7zip \
7174
python2 \
7275
unrar \
73-
wget
76+
wget && \
77+
echo "**** install python packages ****" && \
78+
pip install --no-cache-dir \
79+
apprise \
80+
chardet \
81+
pynzbget &&\
82+
echo "**** cleanup ****" && \
83+
apk del --purge \
84+
build-dependencies && \
85+
rm -rf \
86+
/root/.cache \
87+
/tmp/*
7488

7589
# add local files and files from buildstage
7690
COPY --from=buildstage /app/nzbget /app/nzbget

Dockerfile.armhf

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
6262
LABEL maintainer="sparklyballs,thelamer"
6363

6464
RUN \
65+
echo "**** install build packages ****" && \
66+
apk add --no-cache --upgrade --virtual=build-dependencies \
67+
py2-pip && \
6568
echo "**** install packages ****" && \
6669
apk add --no-cache \
6770
curl \
@@ -70,7 +73,18 @@ RUN \
7073
p7zip \
7174
python2 \
7275
unrar \
73-
wget
76+
wget && \
77+
echo "**** install python packages ****" && \
78+
pip install --no-cache-dir \
79+
apprise \
80+
chardet \
81+
pynzbget &&\
82+
echo "**** cleanup ****" && \
83+
apk del --purge \
84+
build-dependencies && \
85+
rm -rf \
86+
/root/.cache \
87+
/tmp/*
7488

7589
# add local files and files from buildstage
7690
COPY --from=buildstage /app/nzbget /app/nzbget

README.md

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

206206
## Versions
207207

208+
* **13.06.19:** - Add apprise, chardet & pynzbget packages.
208209
* **23.03.19:** - Switching to new Base images, shift to arm32v7 tag.
209210
* **22.02.19:** - Rebasing to alpine 3.9.
210211
* **20.01.19:** - Add pipeline logic and multi arch, build from source.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ app_setup_block: |
7070
7171
# changelog
7272
changelogs:
73+
- { date: "13.06.19:", desc: "Add apprise, chardet & pynzbget packages." }
7374
- { date: "23.03.19:", desc: "Switching to new Base images, shift to arm32v7 tag." }
7475
- { date: "22.02.19:", desc: "Rebasing to alpine 3.9." }
7576
- { date: "20.01.19:", desc: "Add pipeline logic and multi arch, build from source." }

0 commit comments

Comments
 (0)