File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ LABEL org.opencontainers.image.authors="DOMjudge team <team@domjudge.org>"
33
44ENV DEBIAN_FRONTEND=noninteractive
55
6+ # Set up user
7+ RUN useradd -m domjudge
8+
69# Install required packages for build of domserver
710RUN apt-get update \
811 && apt-get install --no-install-recommends --no-install-suggests -y \
@@ -22,9 +25,6 @@ RUN apt-get update \
2225# Use venv to install latest Sphinx. 6.1.0 or higher is required to build DOMjudge docs.
2326RUN python3 -m venv /venv && . /venv/bin/activate && pip3 install sphinx sphinx-rtd-theme rst2pdf
2427
25- # Set up user
26- RUN useradd -m domjudge
27-
2828# Install composer
2929RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
3030 && php composer-setup.php \
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ LABEL org.opencontainers.image.authors="DOMjudge team <team@domjudge.org>"
33
44ENV DEBIAN_FRONTEND=noninteractive
55
6+ # Set up user
7+ RUN useradd -m domjudge
8+
69# Install required packages for build of judgehost
710RUN apt-get update \
811 && apt-get install --no-install-recommends --no-install-suggests -y \
@@ -16,11 +19,7 @@ RUN apt-get update \
1619 ca-certificates \
1720 && rm -rf /var/lib/apt/lists/*
1821
19- # Set up user
20- RUN useradd -m domjudge
21-
2222# Install composer
23-
2423RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
2524 && php composer-setup.php \
2625 && mv /composer.phar /usr/local/bin/composer
You can’t perform that action at this time.
0 commit comments