forked from DOMjudge/domjudge-packaging
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update domserver base to Debian bookworm
- Loading branch information
1 parent
f84320c
commit 78897a7
Showing
3 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:bullseye-slim AS domserver-build | ||
FROM debian:bookworm-slim AS domserver-build | ||
LABEL org.opencontainers.image.authors="DOMjudge team <[email protected]>" | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
@@ -12,13 +12,16 @@ RUN apt update \ | |
php-gd php-curl php-mysql php-json php-intl \ | ||
php-gmp php-xml php-mbstring \ | ||
sudo bsdmainutils ntp libcgroup-dev procps \ | ||
python3-sphinx python3-sphinx-rtd-theme python3-pygments rst2pdf fontconfig python3-yaml \ | ||
python3-venv fontconfig \ | ||
texlive-latex-recommended texlive-latex-extra \ | ||
texlive-fonts-recommended texlive-lang-european latexmk \ | ||
texlive-fonts-recommended texlive-lang-european latexmk tex-gyre \ | ||
libcurl4-gnutls-dev libjsoncpp-dev libmagic-dev \ | ||
enscript lpr ca-certificates \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Use venv to install latest Sphinx. 6.1.0 or higher is required to build DOMjudge docs. | ||
RUN python3 -m venv /venv && . /venv/bin/activate && pip3 install sphinx sphinx-rtd-theme rst2pdf | ||
|
||
# Set up user | ||
RUN useradd -m domjudge | ||
|
||
|
@@ -40,7 +43,7 @@ RUN chmod 700 /scripts/patches.sh && /scripts/patches.sh | |
RUN /domjudge-src/build.sh | ||
|
||
# Now create an image with the actual build in it | ||
FROM debian:bullseye-slim | ||
FROM debian:bookworm-slim | ||
LABEL org.opencontainers.image.authors="DOMjudge team <[email protected]>" | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78897a7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on DOMjudge/domjudge-packaging@53b67e3