Skip to content

Commit 6aedab4

Browse files
committed
First pass to cache the chroot
1 parent 7e3043e commit 6aedab4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker-gitlabci/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,8 @@ RUN wget $GITHUBDICTIONARY -O $CODESPELLDICTLOCATION
6363
# Do some extra setup
6464
RUN mkdir -p /run/php \
6565
&& rm /etc/php/*/fpm/pool.d/www.conf
66+
67+
# Cache the chroot
68+
RUN wget https://github.com/DOMjudge/domjudge/archive/refs/heads/main.zip \
69+
&& unzip domjudge-main.zip && cd domjudge-main/misc-tools && make dj_make_chroot \
70+
&& ./dj_make_chroot

0 commit comments

Comments
 (0)