Skip to content
Merged
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
7 changes: 4 additions & 3 deletions docker-gitlabci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN apt-get update && apt-get install -y \
npm \
# Code coverage for unit test \
php-pear php-dev \
&& apt purge php8.3-redis \
&& apt purge php8.3-redis && apt autoremove --purge \
&& rm -rf /var/lib/apt/lists/*

# Install needed NPM packages and download chrome for the domjudge user
Expand All @@ -37,8 +37,9 @@ RUN su domjudge -c "cd /home/domjudge && \
npx puppeteer browsers install chrome && \
npm cache clean --force"

# Install needed global PHP modules
RUN composer -n require justinrainbow/json-schema phpcompatibility/php-compatibility:dev-develop
# Install needed global PHP modules, squizlabs/php_codesniffer is soft requirement for phpcompatibility/php-compatibility
RUN composer -n require justinrainbow/json-schema phpcompatibility/php-compatibility:dev-develop squizlabs/php_codesniffer
RUN composer config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true

# Install other PHP versions
RUN add-apt-repository ppa:ondrej/php -y && apt-get update && \
Expand Down