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 <
[email protected] >"
3
3
4
4
ENV DEBIAN_FRONTEND=noninteractive
5
5
6
+ # Set up user
7
+ RUN useradd -m domjudge
8
+
6
9
# Install required packages for build of domserver
7
10
RUN apt-get update \
8
11
&& apt-get install --no-install-recommends --no-install-suggests -y \
@@ -22,9 +25,6 @@ RUN apt-get update \
22
25
# Use venv to install latest Sphinx. 6.1.0 or higher is required to build DOMjudge docs.
23
26
RUN python3 -m venv /venv && . /venv/bin/activate && pip3 install sphinx sphinx-rtd-theme rst2pdf
24
27
25
- # Set up user
26
- RUN useradd -m domjudge
27
-
28
28
# Install composer
29
29
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
30
30
&& 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 <
[email protected] >"
3
3
4
4
ENV DEBIAN_FRONTEND=noninteractive
5
5
6
+ # Set up user
7
+ RUN useradd -m domjudge
8
+
6
9
# Install required packages for build of judgehost
7
10
RUN apt-get update \
8
11
&& apt-get install --no-install-recommends --no-install-suggests -y \
@@ -16,11 +19,7 @@ RUN apt-get update \
16
19
ca-certificates \
17
20
&& rm -rf /var/lib/apt/lists/*
18
21
19
- # Set up user
20
- RUN useradd -m domjudge
21
-
22
22
# Install composer
23
-
24
23
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
25
24
&& php composer-setup.php \
26
25
&& mv /composer.phar /usr/local/bin/composer
You can’t perform that action at this time.
0 commit comments