1
1
ARG ARCH=
2
- FROM "${ARCH}ubuntu:focal "
2
+ FROM "${ARCH}ubuntu:jammy "
3
3
LABEL maintainer=
"DOMjudge team <[email protected] >"
4
4
5
5
ENV DEBIAN_FRONTEND=noninteractive \
@@ -21,9 +21,9 @@ RUN apt update \
21
21
&& apt install --no-install-recommends --no-install-suggests -y \
22
22
dumb-init autoconf automake git acl \
23
23
gcc g++ make zip unzip mariadb-client \
24
- nginx php7.4 php7.4 -cli php7.4 -fpm php7.4 -zip \
25
- php7.4 -gd php7.4 -curl php7.4 -mysql php7.4-json php7.4 -intl \
26
- php7.4 -gmp php7.4 -xml php7.4 -mbstring php7.4 -xdebug php7.4 -pcov \
24
+ nginx php8.1 php8.1 -cli php8.1 -fpm php8.1 -zip \
25
+ php8.1 -gd php8.1 -curl php8.1 -mysql php8.1 -intl \
26
+ php8.1 -gmp php8.1 -xml php8.1 -mbstring php8.1 -xdebug php8.1 -pcov \
27
27
bsdmainutils ntp \
28
28
linuxdoc-tools linuxdoc-tools-text groff \
29
29
python3-sphinx python3-sphinx-rtd-theme python3-pip fontconfig python3-yaml \
@@ -34,7 +34,7 @@ RUN apt update \
34
34
supervisor apache2-utils lsb-release \
35
35
libcurl4-gnutls-dev libjsoncpp-dev libmagic-dev \
36
36
enscript lpr ca-certificates less vim \
37
- php-pear php-dev software-properties-common python3-pygments rst2pdf \
37
+ php-pear php-dev software-properties-common python3-pygments rst2pdf gpg-agent tex-gyre \
38
38
&& rm -rf /var/lib/apt/lists/*
39
39
40
40
# Forward nginx request and error logs to standard output/error. Also create directory for PHP-FPM socket
@@ -57,15 +57,15 @@ RUN apt update && \
57
57
# Install all supported PHP versions
58
58
RUN add-apt-repository ppa:ondrej/php -y && apt update
59
59
RUN for VERSION in $PHPSUPPORTED; do \
60
- if [ "${VERSION}" != "7.4 " ]; then \
60
+ if [ "${VERSION}" != "8.1 " ]; then \
61
61
$APTINSTALL php${VERSION}; \
62
62
fi; \
63
63
done
64
64
RUN PACKAGES=$(dpkg-query -f '${binary:Package}\n ' -W|grep "^php.*-" ); \
65
65
for PACKAGE in $PACKAGES; do \
66
66
PACKAGEALLVERSIONS="" && \
67
67
for VERSION in $PHPSUPPORTED; do \
68
- if [ "${VERSION}" != "7.4 " ]; then \
68
+ if [ "${VERSION}" != "8.1 " ]; then \
69
69
PACKAGEALLVERSIONS="$PACKAGEALLVERSIONS php${VERSION}-${PACKAGE#php*-}" ; \
70
70
fi; \
71
71
done; \
0 commit comments