chore: bump debian buster → trixie and fix sources.list for deb822 format
Debian Trixie uses the new deb822 format (/etc/apt/sources.list.d/debian.sources) instead of the old /etc/apt/sources.list file. The two sed commands that target sources.list need updating: - Remove archive.debian.org redirect (Trixie is still active on main mirrors) - Add contrib/non-free to the deb822-format sources file
This commit is contained in:
+3
-4
@@ -1,4 +1,4 @@
|
||||
FROM debian:buster
|
||||
FROM debian:trixie-20260610
|
||||
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
|
||||
|
||||
RUN groupadd -r -g 666 sabnzbd && \
|
||||
@@ -27,8 +27,7 @@ RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \
|
||||
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 && \
|
||||
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 && \
|
||||
@@ -82,4 +81,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
|
||||
Reference in New Issue
Block a user