File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,20 @@ FROM php:${PHP_VERSION}
4
4
WORKDIR /usr/src/app
5
5
6
6
# 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
9
9
10
10
# Install zip extension for PHP
11
- RUN apt-get install -y \
11
+ RUN apt-get install -q - y \
12
12
libzip-dev \
13
13
zip \
14
14
libyaml-dev \
15
15
&& docker-php-ext-install zip
16
16
17
17
# Install yaml extension for PHP
18
18
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
20
21
21
22
# Print PHP version
22
23
RUN php -v
@@ -30,7 +31,7 @@ RUN composer --version
30
31
COPY composer.json .
31
32
32
33
# Install dependencies with composer
33
- RUN composer install
34
+ RUN composer install --no-progress
34
35
35
36
COPY . .
36
37
You can’t perform that action at this time.
0 commit comments