clean apt source file after install.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-06-03 14:21:52 +08:00
parent f130381cfe
commit 1673a80daf
3 changed files with 9 additions and 3 deletions

View File

@ -8,7 +8,9 @@ ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/
RUN apt-get update && apt-get install -y \
libpq-dev \
libmemcached-dev \
curl
curl \
--no-install-recommends \
&& rm -r /var/lib/apt/lists/*
# Install extensions using the helper script provided by the base image
RUN docker-php-ext-install \

View File

@ -8,7 +8,9 @@ ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/
RUN apt-get update && apt-get install -y \
libpq-dev \
libmemcached-dev \
curl
curl \
--no-install-recommends \
&& rm -r /var/lib/apt/lists/*
# Install extensions using the helper script provided by the base image
RUN docker-php-ext-install \

View File

@ -8,7 +8,9 @@ ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/
RUN apt-get update && apt-get install -y \
libpq-dev \
libmemcached-dev \
curl
curl \
--no-install-recommends \
&& rm -r /var/lib/apt/lists/*
# Install extensions using the helper script provided by the base image
RUN docker-php-ext-install \