diff --git a/Dockerfile b/Dockerfile
index 41c3ace6705eb3b8d46fd71af93cc0b7d5b06640..5ea42004b8cd094e6d985f137aa22319189d2213 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
 # https://tug.org/texlive/quickinstall.html
 
-FROM debian:bullseye
+FROM debian:bookworm
 
 ENV DEBIAN_FRONTEND=noninteractive
 
@@ -19,9 +19,9 @@ RUN cat $TEXPROFILE && \
     #
     # deps for texlive, verapdf, make, pdf cmdline utils, pygments/minted, pandoc
     apt-get install -y texlive-base wget make ghostscript poppler-utils librsvg2-bin \
-    fontconfig inotify-tools openjdk-11-jre-headless \
+    fontconfig inotify-tools openjdk-17-jre-headless \
     python3-pygments python3-pandocfilters \
-    pandoc-citeproc pandoc && \
+    pandoc-citeproc-preamble pandoc-sidenote pandoc && \
     #
     # clean up
     apt-get autoremove -y --purge && \
@@ -49,4 +49,4 @@ RUN cat $TEXPROFILE && \
     # add texlive to the system path
     echo 'PATH='$(echo /usr/local/texlive/*/bin/*)':$PATH' >> /etc/bash.bashrc
 
-ENV PATH=/usr/local/texlive/2021/bin/x86_64-linux/:$PATH
+ENV PATH=/usr/local/texlive/2023/bin/x86_64-linux/:$PATH
diff --git a/texlive-full.profile b/texlive-full.profile
index ff9efa205e0b1c77fecddfc4675ea0f68adb7581..10f7370c57fd1a2123f653709180af61b1a5f7a7 100644
--- a/texlive-full.profile
+++ b/texlive-full.profile
@@ -1,12 +1,12 @@
 # It will NOT be updated and reflects only the installation profile at installation time.
 selected_scheme scheme-full
-TEXDIR /usr/local/texlive/2021
-TEXMFCONFIG ~/.texlive2021/texmf-config
+TEXDIR /usr/local/texlive/2023
+TEXMFCONFIG ~/.texlive2023/texmf-config
 TEXMFHOME ~/texmf
 TEXMFLOCAL /usr/local/texlive/texmf-local
-TEXMFSYSCONFIG /usr/local/texlive/2021/texmf-config
-TEXMFSYSVAR /usr/local/texlive/2021/texmf-var
-TEXMFVAR ~/.texlive2021/texmf-var
+TEXMFSYSCONFIG /usr/local/texlive/2023/texmf-config
+TEXMFSYSVAR /usr/local/texlive/2023/texmf-var
+TEXMFVAR ~/.texlive2023/texmf-var
 binary_x86_64-linux 1
 instopt_adjustpath 0
 instopt_adjustrepo 1
diff --git a/texlive-minimal.profile b/texlive-minimal.profile
index ea74632b26551e67663efa1ec78eea71cb48409c..c1ad51fedd87056a1b54493b10e8158c3c4f04c3 100644
--- a/texlive-minimal.profile
+++ b/texlive-minimal.profile
@@ -1,12 +1,12 @@
 # It will NOT be updated and reflects only the installation profile at installation time.
 selected_scheme scheme-minimal
-TEXDIR /usr/local/texlive/2021
-TEXMFCONFIG ~/.texlive2021/texmf-config
+TEXDIR /usr/local/texlive/2023
+TEXMFCONFIG ~/.texlive2023/texmf-config
 TEXMFHOME ~/texmf
 TEXMFLOCAL /usr/local/texlive/texmf-local
-TEXMFSYSCONFIG /usr/local/texlive/2021/texmf-config
-TEXMFSYSVAR /usr/local/texlive/2021/texmf-var
-TEXMFVAR ~/.texlive2021/texmf-var
+TEXMFSYSCONFIG /usr/local/texlive/2023/texmf-config
+TEXMFSYSVAR /usr/local/texlive/2023/texmf-var
+TEXMFVAR ~/.texlive2023/texmf-var
 binary_x86_64-linux 1
 instopt_adjustpath 0
 instopt_adjustrepo 1
diff --git a/texlive-small.profile b/texlive-small.profile
index c8cff74718f962bd36603d8693e33bec1b6b436b..29fadcef2e84d935a6a5e32d5488cc3653dcf18d 100644
--- a/texlive-small.profile
+++ b/texlive-small.profile
@@ -1,12 +1,12 @@
 # It will NOT be updated and reflects only the installation profile at installation time.
 selected_scheme scheme-small
-TEXDIR /usr/local/texlive/2021
-TEXMFCONFIG ~/.texlive2021/texmf-config
+TEXDIR /usr/local/texlive/2023
+TEXMFCONFIG ~/.texlive2023/texmf-config
 TEXMFHOME ~/texmf
 TEXMFLOCAL /usr/local/texlive/texmf-local
-TEXMFSYSCONFIG /usr/local/texlive/2021/texmf-config
-TEXMFSYSVAR /usr/local/texlive/2021/texmf-var
-TEXMFVAR ~/.texlive2021/texmf-var
+TEXMFSYSCONFIG /usr/local/texlive/2023/texmf-config
+TEXMFSYSVAR /usr/local/texlive/2023/texmf-var
+TEXMFVAR ~/.texlive2023/texmf-var
 binary_x86_64-linux 1
 instopt_adjustpath 0
 instopt_adjustrepo 1
diff --git a/texlive.profile b/texlive.profile
index dd42f10ab994dac2e4f6c56649502e1a0562186b..c961eca8a6e13bf5951fe9874bb2192f52bc00f1 100644
--- a/texlive.profile
+++ b/texlive.profile
@@ -1,12 +1,12 @@
 # It will NOT be updated and reflects only the installation profile at installation time.
 selected_scheme scheme-custom
-TEXDIR /usr/local/texlive/2021
-TEXMFCONFIG ~/.texlive2021/texmf-config
+TEXDIR /usr/local/texlive/2023
+TEXMFCONFIG ~/.texlive2023/texmf-config
 TEXMFHOME ~/texmf
 TEXMFLOCAL /usr/local/texlive/texmf-local
-TEXMFSYSCONFIG /usr/local/texlive/2021/texmf-config
-TEXMFSYSVAR /usr/local/texlive/2021/texmf-var
-TEXMFVAR ~/.texlive2021/texmf-var
+TEXMFSYSCONFIG /usr/local/texlive/2023/texmf-config
+TEXMFSYSVAR /usr/local/texlive/2023/texmf-var
+TEXMFVAR ~/.texlive2023/texmf-var
 binary_x86_64-linux 1
 collection-basic 1
 collection-bibtexextra 1