Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docker-gitlabci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,16 @@ RUN wget $GITHUBDICTIONARY -O $CODESPELLDICTLOCATION
# Do some extra setup
RUN mkdir -p /run/php \
&& rm /etc/php/*/fpm/pool.d/www.conf

RUN du -sh /* || true

# Cache the chroot
RUN cd / && wget https://github.com/DOMjudge/domjudge/archive/refs/heads/main.zip
RUN cd / && unzip main.zip
RUN cd /domjudge-main && make configure
RUN cd /domjudge-main && ./configure --with-domjudge-user=domjudge
RUN cd /domjudge-main/misc-tools && make dj_make_chroot
RUN cd /domjudge-main/misc-tools && ./dj_make_chroot
RUN rm -rf /domjudge-main

RUN du -sh /* || true
Loading