Skip to content

Commit

Permalink
Remove redundant 'apt-get install ca-certificates'
Browse files Browse the repository at this point in the history
That package is already installed earlier in the same file.
  • Loading branch information
tom93 committed Jul 9, 2024
1 parent d5a9425 commit 439cb11
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docker-contributor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ RUN groupadd -g $GID domjudge \
&& for id in $(seq 0 4); do useradd -d /nonexistent -g nogroup -s /bin/false "domjudge-run-$id"; done

# Install composer
RUN apt-get update && \
apt-get install --no-install-recommends --no-install-suggests -y ca-certificates \
&& rm -rf /var/lib/apt/lists/* \
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && php composer-setup.php \
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && php composer-setup.php \
&& mv /composer.phar /usr/local/bin/composer

# Install all supported PHP versions
Expand Down

0 comments on commit 439cb11

Please sign in to comment.