merge back apt-get update and install to keep them on the same layer
This commit is contained in:
parent
2a02ed73e3
commit
419434020c
@ -11,8 +11,6 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|||||||
ADD ./laravel.ini /usr/local/etc/php/conf.d
|
ADD ./laravel.ini /usr/local/etc/php/conf.d
|
||||||
ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/
|
ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/
|
||||||
|
|
||||||
RUN apt-get update
|
|
||||||
|
|
||||||
#
|
#
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Software's Installation
|
# Software's Installation
|
||||||
@ -23,16 +21,17 @@ RUN apt-get update
|
|||||||
|
|
||||||
# Install "curl", "libmemcached-dev", "libpq-dev", "libjpeg-dev",
|
# Install "curl", "libmemcached-dev", "libpq-dev", "libjpeg-dev",
|
||||||
# "libpng12-dev", "libfreetype6-dev", "libssl-dev", "libmcrypt-dev",
|
# "libpng12-dev", "libfreetype6-dev", "libssl-dev", "libmcrypt-dev",
|
||||||
RUN apt-get install -y --no-install-recommends \
|
RUN apt-get update \
|
||||||
curl \
|
&& apt-get install -y --no-install-recommends \
|
||||||
libmemcached-dev \
|
curl \
|
||||||
libz-dev \
|
libmemcached-dev \
|
||||||
libpq-dev \
|
libz-dev \
|
||||||
libjpeg-dev \
|
libpq-dev \
|
||||||
libpng12-dev \
|
libjpeg-dev \
|
||||||
libfreetype6-dev \
|
libpng12-dev \
|
||||||
libssl-dev \
|
libfreetype6-dev \
|
||||||
libmcrypt-dev
|
libssl-dev \
|
||||||
|
libmcrypt-dev
|
||||||
|
|
||||||
# Install the PHP mcrypt extention
|
# Install the PHP mcrypt extention
|
||||||
RUN docker-php-ext-install mcrypt
|
RUN docker-php-ext-install mcrypt
|
||||||
|
@ -11,8 +11,6 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|||||||
ADD ./laravel.ini /usr/local/etc/php/conf.d
|
ADD ./laravel.ini /usr/local/etc/php/conf.d
|
||||||
ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/
|
ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/
|
||||||
|
|
||||||
RUN apt-get update
|
|
||||||
|
|
||||||
#
|
#
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Software's Installation
|
# Software's Installation
|
||||||
@ -23,16 +21,17 @@ RUN apt-get update
|
|||||||
|
|
||||||
# Install "curl", "libmemcached-dev", "libpq-dev", "libjpeg-dev",
|
# Install "curl", "libmemcached-dev", "libpq-dev", "libjpeg-dev",
|
||||||
# "libpng12-dev", "libfreetype6-dev", "libssl-dev", "libmcrypt-dev",
|
# "libpng12-dev", "libfreetype6-dev", "libssl-dev", "libmcrypt-dev",
|
||||||
RUN apt-get install -y --no-install-recommends \
|
RUN apt-get update \
|
||||||
curl \
|
&& apt-get install -y --no-install-recommends \
|
||||||
libmemcached-dev \
|
curl \
|
||||||
libz-dev \
|
libmemcached-dev \
|
||||||
libpq-dev \
|
libz-dev \
|
||||||
libjpeg-dev \
|
libpq-dev \
|
||||||
libpng12-dev \
|
libjpeg-dev \
|
||||||
libfreetype6-dev \
|
libpng12-dev \
|
||||||
libssl-dev \
|
libfreetype6-dev \
|
||||||
libmcrypt-dev
|
libssl-dev \
|
||||||
|
libmcrypt-dev
|
||||||
|
|
||||||
# Install the PHP mcrypt extention
|
# Install the PHP mcrypt extention
|
||||||
RUN docker-php-ext-install mcrypt
|
RUN docker-php-ext-install mcrypt
|
||||||
|
Loading…
Reference in New Issue
Block a user