Skip to content

Commit 451c651

Browse files
committed
Enable quiet output for apt and composer in CI
1 parent d32dd54 commit 451c651

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.ci/Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,20 @@ FROM php:${PHP_VERSION}
44
WORKDIR /usr/src/app
55

66
# Install git
7-
RUN apt-get update && \
8-
apt-get install -y --no-install-recommends git
7+
RUN apt-get update -q && \
8+
apt-get install -q -y --no-install-recommends git
99

1010
# Install zip extension for PHP
11-
RUN apt-get install -y \
11+
RUN apt-get install -q -y \
1212
libzip-dev \
1313
zip \
1414
libyaml-dev \
1515
&& docker-php-ext-install zip
1616

1717
# Install yaml extension for PHP
1818
RUN pecl channel-update pecl.php.net
19-
RUN pecl install yaml && docker-php-ext-enable yaml
19+
RUN pecl install yaml > /dev/null
20+
RUN docker-php-ext-enable yaml
2021

2122
# Print PHP version
2223
RUN php -v
@@ -30,7 +31,7 @@ RUN composer --version
3031
COPY composer.json .
3132

3233
# Install dependencies with composer
33-
RUN composer install
34+
RUN composer install --no-progress
3435

3536
COPY . .
3637

0 commit comments

Comments
 (0)