Skip to content

Commit 58223c3

Browse files
authored
Install dependency tools
I forgot to add it in the last commit and this is also a good moment to use the distro composer again.
1 parent 0eb030f commit 58223c3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docker-contributor/Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN apt-get update \
2424
&& apt-get install --no-install-recommends --no-install-suggests -y \
2525
curl dumb-init autoconf automake git acl \
2626
gcc g++ make zip unzip mariadb-client \
27-
nginx php8.3 php8.3-cli php8.3-fpm php8.3-zip \
27+
nginx composer yarnpkg php8.3 php8.3-cli php8.3-fpm php8.3-zip \
2828
php8.3-gd php8.3-curl php8.3-mysql php8.3-intl \
2929
php8.3-gmp php8.3-xml php8.3-mbstring php8.3-xdebug php8.3-pcov php8.3-bcmath \
3030
bsdmainutils ntp lsof \
@@ -53,10 +53,6 @@ RUN groupadd -g $GID domjudge \
5353
&& groupadd domjudge-run \
5454
&& for id in $(seq 0 4); do useradd -d /nonexistent -g nogroup -s /bin/false "domjudge-run-$id"; done
5555

56-
# Install composer
57-
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && php composer-setup.php \
58-
&& mv /composer.phar /usr/local/bin/composer
59-
6056
# Install all supported PHP versions
6157
RUN add-apt-repository ppa:ondrej/php -y && apt-get update && \
6258
for VERSION in $PHPSUPPORTED; do \

0 commit comments

Comments
 (0)