splitted php5.6 dockerfile command
This commit is contained in:
parent
68e429b05a
commit
1286b7c5ec
@ -8,21 +8,24 @@ RUN apt-get update && apt-get install -y \
|
||||
libmcrypt-dev \
|
||||
libpng-dev \
|
||||
mysql-client \
|
||||
zip && \
|
||||
docker-php-ext-install -j$(nproc) iconv mcrypt && \
|
||||
zip
|
||||
|
||||
RUN docker-php-ext-install -j$(nproc) iconv mcrypt && \
|
||||
docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \
|
||||
docker-php-ext-install -j$(nproc) gd && \
|
||||
docker-php-ext-install pdo_mysql zip && \
|
||||
docker-php-ext-install opcache && \
|
||||
apt-get install -y git vim && \
|
||||
docker-php-ext-install opcache
|
||||
|
||||
RUN apt-get install -y git vim && \
|
||||
pecl install redis-3.1.0 && \
|
||||
pecl install xdebug-2.5.0 && \
|
||||
docker-php-ext-enable redis xdebug && \
|
||||
export COMPOSER_HOME=/usr/local/composer && \
|
||||
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
|
||||
composer global require drush/drush:6.5.0 && \
|
||||
composer global install && \
|
||||
ln -s /usr/local/composer/vendor/drush/drush/drush /usr/local/bin/drush
|
||||
RUN export COMPOSER_HOME=/usr/local/composer && \
|
||||
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||
|
||||
RUN composer global require drush/drush:6.5.0 && \
|
||||
composer global install && \
|
||||
ln -s /usr/local/composer/vendor/drush/drush/drush /usr/local/bin/drush
|
||||
|
||||
ARG USER_UID
|
||||
ARG USER_UNAME
|
||||
|
Loading…
x
Reference in New Issue
Block a user