feat: mega update
Some checks failed
web/sabnzbd/pipeline/head There was a failure building this commit

This commit is contained in:
Julien Cabillot 2023-02-24 16:55:18 -05:00
parent fadad98661
commit 5ede3e3bf0
2 changed files with 11 additions and 8 deletions

View File

@ -1,4 +1,4 @@
FROM "debian:stretch" FROM "debian:buster"
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>" LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
RUN groupadd -r -g 666 sabnzbd && \ RUN groupadd -r -g 666 sabnzbd && \
@ -21,18 +21,20 @@ ENV LANG C.UTF-8
# Install SABnzbd and all required dependencies. # Install SABnzbd and all required dependencies.
# #
RUN export SABNZBD_VERSION=2.3.0 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \ RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \
export DEBIAN_FRONTEND=noninteractive && \ export DEBIAN_FRONTEND=noninteractive && \
export BUILD_PACKAGES="automake build-essential python-dev python-pip" && \ export BUILD_PACKAGES="automake build-essential python3-dev libffi-dev" && \
export RUNTIME_PACKAGES="ca-certificates p7zip-full python-cheetah python-yenc unrar unzip libgomp1 openssl python-cryptography python-openssl curl" && \ export RUNTIME_PACKAGES="ca-certificates p7zip-full python3-yenc unrar unzip libgomp1 openssl python3-openssl curl python3-pip" && \
export PIP_PACKAGES="sabyenc" && \ export PIP_PACKAGES="sabyenc" && \
sed -i "s/ main$/ main contrib non-free/" /etc/apt/sources.list && \ sed -i "s/ main$/ main contrib non-free/" /etc/apt/sources.list && \
apt-get -qq update && \ apt-get -qq update && \
apt-get -qq --yes install $BUILD_PACKAGES $RUNTIME_PACKAGES && \ apt-get -qq --yes install $BUILD_PACKAGES $RUNTIME_PACKAGES && \
pip install $PIP_PACKAGES && \ #pip3 install $PIP_PACKAGES && \
curl -SL -o /tmp/sabnzbd.tar.gz https://github.com/sabnzbd/sabnzbd/releases/download/${SABNZBD_VERSION}/SABnzbd-${SABNZBD_VERSION}-src.tar.gz && \ curl -SL -o /tmp/sabnzbd.tar.gz https://github.com/sabnzbd/sabnzbd/releases/download/${SABNZBD_VERSION}/SABnzbd-${SABNZBD_VERSION}-src.tar.gz && \
tar xzf /tmp/sabnzbd.tar.gz && \ tar xzf /tmp/sabnzbd.tar.gz && \
mv SABnzbd-* sabnzbd && \ mv SABnzbd-* sabnzbd && \
pip3 install --upgrade pip && \
pip3 install -r /sabnzbd/requirements.txt && \
chown -R sabnzbd: sabnzbd && \ chown -R sabnzbd: sabnzbd && \
curl -o /tmp/par2cmdline-mt.tar.gz https://codeload.github.com/jkansanen/par2cmdline-mt/tar.gz/${PAR2CMDLINE_VERSION} && \ curl -o /tmp/par2cmdline-mt.tar.gz https://codeload.github.com/jkansanen/par2cmdline-mt/tar.gz/${PAR2CMDLINE_VERSION} && \
tar xzf /tmp/par2cmdline-mt.tar.gz -C /tmp && \ tar xzf /tmp/par2cmdline-mt.tar.gz -C /tmp && \
@ -70,7 +72,7 @@ EXPOSE 8080
WORKDIR "/sabnzbd" WORKDIR "/sabnzbd"
# Add Tini # Add Tini
ENV "TINI_VERSION" "v0.16.1" ENV "TINI_VERSION" "v0.19.0"
ADD "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini" "/tini" ADD "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini" "/tini"
RUN chmod +x "/tini" RUN chmod +x "/tini"
#ENTRYPOINT ["/tini", "--"] #ENTRYPOINT ["/tini", "--"]

1
Jenkinsfile vendored
View File

@ -3,6 +3,7 @@ pipeline {
registry = 'https://registry.hub.docker.com' registry = 'https://registry.hub.docker.com'
registryCredential = 'dockerhub_jcabillot' registryCredential = 'dockerhub_jcabillot'
dockerImage = 'jcabillot/sabnzbd' dockerImage = 'jcabillot/sabnzbd'
DOCKER_BUILDKIT = '1'
} }
agent any agent any