Skip to content

Commit 65b1bec

Browse files
committed
Codeacy Appeasement: Dockerfile
1 parent 91bfb9c commit 65b1bec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
ARG PHP_VERSION=7.2
22
ARG COMPOSER_VERSION=1.8
33

4-
FROM composer:${COMPOSER_VERSION}
4+
FROM composer:${COMPOSER_VERSION} as composer
55
FROM php:${PHP_VERSION}-cli
66

77
RUN apt-get update && \
8-
apt-get install -y autoconf pkg-config libssl-dev git libzip-dev zlib1g-dev unzip && \
8+
apt-get install -y autoconf pkg-config libssl-dev git libzip-dev zlib1g-dev unzip --no-install-recommends && \
99
pecl install mongodb && docker-php-ext-enable mongodb && \
1010
pecl install xdebug && docker-php-ext-enable xdebug && \
1111
docker-php-ext-install -j$(nproc) pdo_mysql zip

0 commit comments

Comments
 (0)