Merge pull request 'chore: bump debian buster → trixie with deb822 sources fix' (#10) from fix/debian-trixie-transition into master
Docker Build and Push / lint (push) Successful in 6s
Docker Build and Push / build (push) Successful in 40s
Docker Build and Push / test (push) Successful in 25s
Docker Build and Push / push (push) Successful in 41s

Reviewed-on: #10
This commit was merged in pull request #10.
This commit is contained in:
2026-06-12 09:13:02 -04:00
2 changed files with 11 additions and 11 deletions
+9 -9
View File
@@ -1,4 +1,4 @@
FROM debian:buster
FROM debian:trixie-20260610
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
RUN groupadd -r -g 666 sabnzbd && \
@@ -22,20 +22,20 @@ ENV LANG C.UTF-8
#
# hadolint ignore=DL3008,DL3015,SC3009,DL3003,DL3013,DL3042
RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \
RUN export SABNZBD_VERSION=4.5.5 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \
export DEBIAN_FRONTEND=noninteractive && \
export PIP_BREAK_SYSTEM_PACKAGES=1 && \
export BUILD_PACKAGES="automake build-essential python3-dev libffi-dev" && \
export RUNTIME_PACKAGES="ca-certificates p7zip-full python3-yenc unrar unzip libgomp1 openssl python3-openssl curl python3-pip" && \
export PIP_PACKAGES="sabyenc" && \
sed -i 's|http://deb.debian.org|http://archive.debian.org|g' /etc/apt/sources.list && \
sed -i "s/ main$/ main contrib non-free/" /etc/apt/sources.list && \
export RUNTIME_PACKAGES="ca-certificates p7zip-full unrar unzip libgomp1 openssl python3-openssl python3-cffi curl python3-pip" && \
sed -i "s/Components: main/Components: main contrib non-free/" /etc/apt/sources.list.d/debian.sources && \
apt-get -qq update && \
apt-get -qq --yes install $BUILD_PACKAGES $RUNTIME_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 && \
tar xzf /tmp/sabnzbd.tar.gz && \
mv SABnzbd-* sabnzbd && \
pip3 install --upgrade pip && \
sed -i '/pywin32/d' /sabnzbd/requirements.txt && \
sed -i 's/^cffi==.*/cffi/' /sabnzbd/requirements.txt && \
sed -i 's/^cryptography==.*/cryptography/' /sabnzbd/requirements.txt && \
pip3 install -r /sabnzbd/requirements.txt && \
chown -R sabnzbd: sabnzbd && \
curl -o /tmp/par2cmdline-mt.tar.gz https://codeload.github.com/jkansanen/par2cmdline-mt/tar.gz/${PAR2CMDLINE_VERSION} && \
@@ -82,4 +82,4 @@ RUN chmod +x "/tini"
CMD ["/sabnzbd.sh"]
HEALTHCHECK --interval=10s \
CMD curl --fail "http://localhost:8080" || exit 1
CMD curl --fail "http://localhost:8080" || exit 1
+2 -2
View File
@@ -70,7 +70,7 @@ done
echo ""
echo "Test: GET / (SABnzbd web UI)"
RESPONSE=$(curl -s -D - "$BASE_URL/")
RESPONSE=$(curl -sL -D - "$BASE_URL/")
STATUS=$(echo "$RESPONSE" | head -1 | grep -oP '\d{3}')
BODY=$(echo "$RESPONSE" | sed -n '/^\r$/,$p' | tail -n +2)
@@ -79,4 +79,4 @@ assert_match "Body contains SABnzbd" "[Ss][Aa][Bb].*[Nn]zbd" "$BODY"
echo ""
echo "Results: $PASSED/$TOTAL passed, $FAILED failed"
[ "$FAILED" -eq 0 ]
[ "$FAILED" -eq 0 ]