Skip to content

Commit 986b352

Browse files
tom93vmcj
authored andcommitted
Remove redundant 'apt-get install ca-certificates'
That package is already installed earlier in the same file.
1 parent 7d40d40 commit 986b352

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docker-contributor/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@ RUN groupadd -g $GID domjudge \
5353
&& for id in $(seq 0 4); do useradd -d /nonexistent -g nogroup -s /bin/false "domjudge-run-$id"; done
5454

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

6259
# Install all supported PHP versions

0 commit comments

Comments
 (0)