Skip to content

Commit 162c095

Browse files
authored
Get Sphinx packages from trixie
For generating the documents we need a new version of Sphinx which is available in trixie and should work fine.
1 parent e0f7c4c commit 162c095

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Dockerfile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,21 @@ ARG DIST_NAME="sid"
77
FROM debian:bookworm-slim AS pre-build
88
ARG DIST_NAME
99
RUN echo "\
10-
Types: deb-src\n\
10+
Types: deb deb-src\n\
1111
URIs: http://deb.debian.org/debian\n\
1212
Suites: ${DIST_NAME}\n\
1313
Components: main\n\
1414
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg" \
1515
> /etc/apt/sources.list.d/${DIST_NAME}-src.sources
16+
RUN echo "\
17+
Package: *\n\
18+
Pin: release n=${DIST_NAME}\n\
19+
Pin-Priority: 1 \n\
20+
\n\
21+
Package: libjs-sphinxdoc sphinx-common python3-sphinx\n\
22+
Pin: release n=${DIST_NAME}\n\
23+
Pin-Priority: 500" \
24+
> /etc/apt/preferences.d/99pinning
1625
RUN apt-get update && \
1726
apt-get upgrade -y && \
1827
apt-get install -y --no-install-recommends devscripts equivs

0 commit comments

Comments
 (0)