Bladeren bron

Adds sabnzcbdplus Image

Fred Damstra [io2] 4 jaren geleden
bovenliggende
commit
73a70f0a4e
3 gewijzigde bestanden met toevoegingen van 51 en 0 verwijderingen
  1. 13 0
      Images/README.md
  2. 35 0
      Images/sabnzbd/Dockerfile
  3. 3 0
      Images/sabnzbd/build.sh

+ 13 - 0
Images/README.md

@@ -0,0 +1,13 @@
+# Images
+
+Contains submodules and images, some of them forked.
+
+# gogs
+
+Just built it myself because there was no suitable image.
+Needs to be in `~/go/src/github.com/gogs` to build, then run `docker build . -f Dockerfile.aarch64 -t fdamstra/gogs`
+
+# sabnzbd
+
+Built fromlinuxserver/sabnzbd to add support for nzbToMedia
+

+ 35 - 0
Images/sabnzbd/Dockerfile

@@ -0,0 +1,35 @@
+# Builds a modified version of sabnzbd with nzbToMedia.
+# Needs the configuration file mounted to /usr/local/scripts/autoProcessMedia.cfg
+FROM lsiobase/ffmpeg:arm64v8-bin as binstage
+FROM linuxserver/sabnzbd:latest
+
+# Add files from binstage
+COPY --from=binstage / /
+
+# get the latest version from https://github.com/clinton-hall/nzbToMedia/tags
+ENV GITTAG=12.1.08
+
+RUN apt-get update && apt-get install -y \
+  git \
+  libexpat1 \
+	libfontconfig1 \
+	libglib2.0-0 \
+	libgomp1 \
+	libharfbuzz0b \
+	libv4l-0 \
+	libx11-6 \
+	libxcb1 \
+	libxext6 \
+	libxml2 && \
+  echo "**** clean up ****" && \
+  rm -rf /var/lib/apt/lists/* /var/tmp/*
+
+WORKDIR /usr/local
+RUN curl -o /usr/local/src/nzbToMedia.tar.gz https://codeload.github.com/clinton-hall/nzbToMedia/tar.gz/refs/tags/${GITTAG} \
+    && tar xvzf /usr/local/src/nzbToMedia.tar.gz \
+    && mv nzbToMedia-${GITTAG} scripts \
+    && cp scripts/autoProcessMedia.cfg.spec scripts/autoProcessMedia.cfg \
+    && chown -R abc:abc scripts \
+    && rm /usr/local/src/nzbToMedia.tar.gz
+
+WORKDIR /

+ 3 - 0
Images/sabnzbd/build.sh

@@ -0,0 +1,3 @@
+#! /bin/bash
+docker build . -f Dockerfile -t fdamstra/sabnzbd && \
+docker push fdamstra/sabnzbd