mirror of
https://github.com/ivuorinen/docker-php-with-imagick.git
synced 2026-03-15 11:00:24 +00:00
Fix: Clean apt-get lists after installation
This commit is contained in:
@@ -11,7 +11,10 @@ RUN docker-php-ext-install bcmath \
|
||||
&& docker-php-ext-install -j$(nproc) intl mbstring pdo xml gd exif bcmath \
|
||||
&& yes '' | pecl install imagick \
|
||||
&& docker-php-ext-enable imagick \
|
||||
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||
&& curl -sS https://getcomposer.org/installer \
|
||||
| php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN php --version \
|
||||
&& composer --version
|
||||
|
||||
Reference in New Issue
Block a user