commit
05faf24582
@ -45,7 +45,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|||||||
ARG INSTALL_SOAP=false
|
ARG INSTALL_SOAP=false
|
||||||
RUN if [ ${INSTALL_SOAP} = true ]; then \
|
RUN if [ ${INSTALL_SOAP} = true ]; then \
|
||||||
# Install the soap extension
|
# Install the soap extension
|
||||||
apt-get -y update && \
|
apt-get update -yqq && \
|
||||||
apt-get -y install libxml2-dev php-soap && \
|
apt-get -y install libxml2-dev php-soap && \
|
||||||
docker-php-ext-install soap \
|
docker-php-ext-install soap \
|
||||||
;fi
|
;fi
|
||||||
@ -219,7 +219,7 @@ RUN if [ ${INSTALL_INTL} = true ]; then \
|
|||||||
ARG INSTALL_GHOSTSCRIPT=false
|
ARG INSTALL_GHOSTSCRIPT=false
|
||||||
RUN if [ ${INSTALL_GHOSTSCRIPT} = true ]; then \
|
RUN if [ ${INSTALL_GHOSTSCRIPT} = true ]; then \
|
||||||
# Install the ghostscript extension for PDF editing
|
# Install the ghostscript extension for PDF editing
|
||||||
apt-get update && \
|
apt-get update -yqq && \
|
||||||
apt-get install -y poppler-utils ghostscript \
|
apt-get install -y poppler-utils ghostscript \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|||||||
ARG INSTALL_SOAP=false
|
ARG INSTALL_SOAP=false
|
||||||
RUN if [ ${INSTALL_SOAP} = true ]; then \
|
RUN if [ ${INSTALL_SOAP} = true ]; then \
|
||||||
# Install the soap extension
|
# Install the soap extension
|
||||||
apt-get -y update && \
|
apt-get update -yqq && \
|
||||||
apt-get -y install libxml2-dev php-soap && \
|
apt-get -y install libxml2-dev php-soap && \
|
||||||
docker-php-ext-install soap \
|
docker-php-ext-install soap \
|
||||||
;fi
|
;fi
|
||||||
@ -212,7 +212,7 @@ RUN if [ ${INSTALL_TOKENIZER} = true ]; then \
|
|||||||
ARG INSTALL_INTL=false
|
ARG INSTALL_INTL=false
|
||||||
RUN if [ ${INSTALL_INTL} = true ]; then \
|
RUN if [ ${INSTALL_INTL} = true ]; then \
|
||||||
# Install intl and requirements
|
# Install intl and requirements
|
||||||
apt-get -y update && \
|
apt-get update -yqq && \
|
||||||
apt-get install -y zlib1g-dev libicu-dev g++ && \
|
apt-get install -y zlib1g-dev libicu-dev g++ && \
|
||||||
docker-php-ext-configure intl && \
|
docker-php-ext-configure intl && \
|
||||||
docker-php-ext-install intl \
|
docker-php-ext-install intl \
|
||||||
@ -226,7 +226,7 @@ ARG INSTALL_GHOSTSCRIPT=false
|
|||||||
RUN if [ ${INSTALL_GHOSTSCRIPT} = true ]; then \
|
RUN if [ ${INSTALL_GHOSTSCRIPT} = true ]; then \
|
||||||
# Install the ghostscript extension
|
# Install the ghostscript extension
|
||||||
# for PDF editing
|
# for PDF editing
|
||||||
apt-get -y update \
|
apt-get update -yqq \
|
||||||
&& apt-get install -y \
|
&& apt-get install -y \
|
||||||
poppler-utils \
|
poppler-utils \
|
||||||
ghostscript \
|
ghostscript \
|
||||||
@ -242,7 +242,7 @@ RUN if [ ${INSTALL_MSSQL} = true ]; then \
|
|||||||
#####################################
|
#####################################
|
||||||
# Install Depenencies:
|
# Install Depenencies:
|
||||||
#####################################
|
#####################################
|
||||||
apt-get update && \
|
apt-get update -yqq && \
|
||||||
apt-get install -y --force-yes wget apt-transport-https curl freetds-common libsybdb5 freetds-bin unixodbc unixodbc-dev && \
|
apt-get install -y --force-yes wget apt-transport-https curl freetds-common libsybdb5 freetds-bin unixodbc unixodbc-dev && \
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
@ -258,12 +258,12 @@ RUN if [ ${INSTALL_MSSQL} = true ]; then \
|
|||||||
| tee /etc/apt/sources.list.d/dotdeb.list \
|
| tee /etc/apt/sources.list.d/dotdeb.list \
|
||||||
&& wget -qO- https://www.dotdeb.org/dotdeb.gpg \
|
&& wget -qO- https://www.dotdeb.org/dotdeb.gpg \
|
||||||
| apt-key add - \
|
| apt-key add - \
|
||||||
&& apt-get update \
|
&& apt-get update -yqq \
|
||||||
&& apt-get upgrade -qq && \
|
&& apt-get upgrade -qq && \
|
||||||
|
|
||||||
# Install UnixODBC
|
# Install UnixODBC
|
||||||
# Compile odbc_config as it is not part of unixodbc package
|
# Compile odbc_config as it is not part of unixodbc package
|
||||||
apt-get update && \
|
apt-get update -yqq && \
|
||||||
apt-get install -y whiptail \
|
apt-get install -y whiptail \
|
||||||
unixodbc libgss3 odbcinst devscripts debhelper dh-exec dh-autoreconf libreadline-dev libltdl-dev \
|
unixodbc libgss3 odbcinst devscripts debhelper dh-exec dh-autoreconf libreadline-dev libltdl-dev \
|
||||||
&& dget -u -x http://http.debian.net/debian/pool/main/u/unixodbc/unixodbc_2.3.1-3.dsc \
|
&& dget -u -x http://http.debian.net/debian/pool/main/u/unixodbc/unixodbc_2.3.1-3.dsc \
|
||||||
|
@ -45,7 +45,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|||||||
ARG INSTALL_SOAP=false
|
ARG INSTALL_SOAP=false
|
||||||
RUN if [ ${INSTALL_SOAP} = true ]; then \
|
RUN if [ ${INSTALL_SOAP} = true ]; then \
|
||||||
# Install the soap extension
|
# Install the soap extension
|
||||||
apt-get -y update && \
|
apt-get update -yqq && \
|
||||||
apt-get -y install libxml2-dev php-soap && \
|
apt-get -y install libxml2-dev php-soap && \
|
||||||
docker-php-ext-install soap \
|
docker-php-ext-install soap \
|
||||||
;fi
|
;fi
|
||||||
@ -212,7 +212,7 @@ RUN if [ ${INSTALL_TOKENIZER} = true ]; then \
|
|||||||
ARG INSTALL_INTL=false
|
ARG INSTALL_INTL=false
|
||||||
RUN if [ ${INSTALL_INTL} = true ]; then \
|
RUN if [ ${INSTALL_INTL} = true ]; then \
|
||||||
# Install intl and requirements
|
# Install intl and requirements
|
||||||
apt-get -y update && \
|
apt-get update -yqq && \
|
||||||
apt-get install -y zlib1g-dev libicu-dev g++ && \
|
apt-get install -y zlib1g-dev libicu-dev g++ && \
|
||||||
docker-php-ext-configure intl && \
|
docker-php-ext-configure intl && \
|
||||||
docker-php-ext-install intl \
|
docker-php-ext-install intl \
|
||||||
@ -226,7 +226,7 @@ ARG INSTALL_GHOSTSCRIPT=false
|
|||||||
RUN if [ ${INSTALL_GHOSTSCRIPT} = true ]; then \
|
RUN if [ ${INSTALL_GHOSTSCRIPT} = true ]; then \
|
||||||
# Install the ghostscript extension
|
# Install the ghostscript extension
|
||||||
# for PDF editing
|
# for PDF editing
|
||||||
apt-get -y update \
|
apt-get update -yqq \
|
||||||
&& apt-get install -y \
|
&& apt-get install -y \
|
||||||
poppler-utils \
|
poppler-utils \
|
||||||
ghostscript \
|
ghostscript \
|
||||||
@ -242,7 +242,7 @@ RUN if [ ${INSTALL_MSSQL} = true ]; then \
|
|||||||
#####################################
|
#####################################
|
||||||
# Install Depenencies:
|
# Install Depenencies:
|
||||||
#####################################
|
#####################################
|
||||||
apt-get update && \
|
apt-get update -yqq && \
|
||||||
apt-get install -y --force-yes wget apt-transport-https curl freetds-common libsybdb5 freetds-bin unixodbc unixodbc-dev && \
|
apt-get install -y --force-yes wget apt-transport-https curl freetds-common libsybdb5 freetds-bin unixodbc unixodbc-dev && \
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
@ -258,12 +258,12 @@ RUN if [ ${INSTALL_MSSQL} = true ]; then \
|
|||||||
| tee /etc/apt/sources.list.d/dotdeb.list \
|
| tee /etc/apt/sources.list.d/dotdeb.list \
|
||||||
&& wget -qO- https://www.dotdeb.org/dotdeb.gpg \
|
&& wget -qO- https://www.dotdeb.org/dotdeb.gpg \
|
||||||
| apt-key add - \
|
| apt-key add - \
|
||||||
&& apt-get update \
|
&& apt-get update -yqq \
|
||||||
&& apt-get upgrade -qq && \
|
&& apt-get upgrade -qq && \
|
||||||
|
|
||||||
# Install UnixODBC
|
# Install UnixODBC
|
||||||
# Compile odbc_config as it is not part of unixodbc package
|
# Compile odbc_config as it is not part of unixodbc package
|
||||||
apt-get update && \
|
apt-get update -yqq && \
|
||||||
apt-get install -y whiptail \
|
apt-get install -y whiptail \
|
||||||
unixodbc libgss3 odbcinst devscripts debhelper dh-exec dh-autoreconf libreadline-dev libltdl-dev \
|
unixodbc libgss3 odbcinst devscripts debhelper dh-exec dh-autoreconf libreadline-dev libltdl-dev \
|
||||||
&& dget -u -x http://http.debian.net/debian/pool/main/u/unixodbc/unixodbc_2.3.1-3.dsc \
|
&& dget -u -x http://http.debian.net/debian/pool/main/u/unixodbc/unixodbc_2.3.1-3.dsc \
|
||||||
|
@ -47,8 +47,8 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|||||||
ARG PUID=1000
|
ARG PUID=1000
|
||||||
ARG PGID=1000
|
ARG PGID=1000
|
||||||
RUN groupadd -g $PGID laradock && \
|
RUN groupadd -g $PGID laradock && \
|
||||||
useradd -u $PUID -g laradock -m laradock
|
useradd -u $PUID -g laradock -m laradock && \
|
||||||
|
apt-get update -yqq
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# SOAP:
|
# SOAP:
|
||||||
@ -60,8 +60,8 @@ ENV INSTALL_SOAP ${INSTALL_SOAP}
|
|||||||
|
|
||||||
RUN if [ ${INSTALL_SOAP} = true ]; then \
|
RUN if [ ${INSTALL_SOAP} = true ]; then \
|
||||||
# Install the PHP SOAP extension
|
# Install the PHP SOAP extension
|
||||||
apt-get -y update && \
|
|
||||||
add-apt-repository -y ppa:ondrej/php && \
|
add-apt-repository -y ppa:ondrej/php && \
|
||||||
|
apt-get update -yqq && \
|
||||||
apt-get -y install libxml2-dev php5.6-soap \
|
apt-get -y install libxml2-dev php5.6-soap \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
@ -128,7 +128,6 @@ RUN echo "" >> ~/.bashrc && \
|
|||||||
ARG INSTALL_XDEBUG=false
|
ARG INSTALL_XDEBUG=false
|
||||||
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
||||||
# Load the xdebug extension only with phpunit commands
|
# Load the xdebug extension only with phpunit commands
|
||||||
apt-get update && \
|
|
||||||
apt-get install -y --force-yes php5.6-xdebug && \
|
apt-get install -y --force-yes php5.6-xdebug && \
|
||||||
sed -i 's/^/;/g' /etc/php/5.6/cli/conf.d/20-xdebug.ini && \
|
sed -i 's/^/;/g' /etc/php/5.6/cli/conf.d/20-xdebug.ini && \
|
||||||
echo "alias phpunit='php -dzend_extension=xdebug.so /var/www/vendor/bin/phpunit'" >> ~/.bashrc \
|
echo "alias phpunit='php -dzend_extension=xdebug.so /var/www/vendor/bin/phpunit'" >> ~/.bashrc \
|
||||||
@ -150,7 +149,7 @@ ENV BLACKFIRE_CLIENT_TOKEN ${BLACKFIRE_CLIENT_TOKEN}
|
|||||||
RUN if [ ${INSTALL_XDEBUG} = false -a ${INSTALL_BLACKFIRE} = true ]; then \
|
RUN if [ ${INSTALL_XDEBUG} = false -a ${INSTALL_BLACKFIRE} = true ]; then \
|
||||||
curl -L https://packagecloud.io/gpg.key | apt-key add - && \
|
curl -L https://packagecloud.io/gpg.key | apt-key add - && \
|
||||||
echo "deb http://packages.blackfire.io/debian any main" | tee /etc/apt/sources.list.d/blackfire.list && \
|
echo "deb http://packages.blackfire.io/debian any main" | tee /etc/apt/sources.list.d/blackfire.list && \
|
||||||
apt-get update && \
|
apt-get update -yqq && \
|
||||||
apt-get install blackfire-agent \
|
apt-get install blackfire-agent \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
@ -354,7 +353,6 @@ ENV INSTALL_LINUXBREW ${INSTALL_LINUXBREW}
|
|||||||
RUN if [ ${INSTALL_LINUXBREW} = true ]; then \
|
RUN if [ ${INSTALL_LINUXBREW} = true ]; then \
|
||||||
|
|
||||||
# Preparation
|
# Preparation
|
||||||
apt-get update && \
|
|
||||||
apt-get upgrade -y && \
|
apt-get upgrade -y && \
|
||||||
apt-get install -y build-essential make cmake scons curl git \
|
apt-get install -y build-essential make cmake scons curl git \
|
||||||
ruby autoconf automake autoconf-archive \
|
ruby autoconf automake autoconf-archive \
|
||||||
|
@ -47,8 +47,8 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|||||||
ARG PUID=1000
|
ARG PUID=1000
|
||||||
ARG PGID=1000
|
ARG PGID=1000
|
||||||
RUN groupadd -g $PGID laradock && \
|
RUN groupadd -g $PGID laradock && \
|
||||||
useradd -u $PUID -g laradock -m laradock
|
useradd -u $PUID -g laradock -m laradock && \
|
||||||
|
apt-get update -yqq
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# SOAP:
|
# SOAP:
|
||||||
@ -60,8 +60,8 @@ ENV INSTALL_SOAP ${INSTALL_SOAP}
|
|||||||
|
|
||||||
RUN if [ ${INSTALL_SOAP} = true ]; then \
|
RUN if [ ${INSTALL_SOAP} = true ]; then \
|
||||||
# Install the PHP SOAP extension
|
# Install the PHP SOAP extension
|
||||||
apt-get -y update && \
|
|
||||||
add-apt-repository -y ppa:ondrej/php && \
|
add-apt-repository -y ppa:ondrej/php && \
|
||||||
|
apt-get update -yqq && \
|
||||||
apt-get -y install libxml2-dev php7.0-soap \
|
apt-get -y install libxml2-dev php7.0-soap \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
@ -128,7 +128,6 @@ RUN echo "" >> ~/.bashrc && \
|
|||||||
ARG INSTALL_XDEBUG=false
|
ARG INSTALL_XDEBUG=false
|
||||||
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
||||||
# Load the xdebug extension only with phpunit commands
|
# Load the xdebug extension only with phpunit commands
|
||||||
apt-get update && \
|
|
||||||
apt-get install -y --force-yes php7.0-xdebug && \
|
apt-get install -y --force-yes php7.0-xdebug && \
|
||||||
sed -i 's/^/;/g' /etc/php/7.0/cli/conf.d/20-xdebug.ini && \
|
sed -i 's/^/;/g' /etc/php/7.0/cli/conf.d/20-xdebug.ini && \
|
||||||
echo "alias phpunit='php -dzend_extension=xdebug.so /var/www/vendor/bin/phpunit'" >> ~/.bashrc \
|
echo "alias phpunit='php -dzend_extension=xdebug.so /var/www/vendor/bin/phpunit'" >> ~/.bashrc \
|
||||||
@ -150,7 +149,7 @@ ENV BLACKFIRE_CLIENT_TOKEN ${BLACKFIRE_CLIENT_TOKEN}
|
|||||||
RUN if [ ${INSTALL_XDEBUG} = false -a ${INSTALL_BLACKFIRE} = true ]; then \
|
RUN if [ ${INSTALL_XDEBUG} = false -a ${INSTALL_BLACKFIRE} = true ]; then \
|
||||||
curl -L https://packagecloud.io/gpg.key | apt-key add - && \
|
curl -L https://packagecloud.io/gpg.key | apt-key add - && \
|
||||||
echo "deb http://packages.blackfire.io/debian any main" | tee /etc/apt/sources.list.d/blackfire.list && \
|
echo "deb http://packages.blackfire.io/debian any main" | tee /etc/apt/sources.list.d/blackfire.list && \
|
||||||
apt-get update && \
|
apt-get update -yqq && \
|
||||||
apt-get install blackfire-agent \
|
apt-get install blackfire-agent \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
@ -310,7 +309,7 @@ ENV INSTALL_V8JS_EXTENSION ${INSTALL_V8JS_EXTENSION}
|
|||||||
RUN if [ ${INSTALL_V8JS_EXTENSION} = true ]; then \
|
RUN if [ ${INSTALL_V8JS_EXTENSION} = true ]; then \
|
||||||
# Install the php V8JS extension
|
# Install the php V8JS extension
|
||||||
add-apt-repository -y ppa:pinepain/libv8-5.4 \
|
add-apt-repository -y ppa:pinepain/libv8-5.4 \
|
||||||
&& apt-get update \
|
&& apt-get update -yqq \
|
||||||
&& apt-get install -y php7.0-xml php7.0-dev php-pear libv8-5.4 \
|
&& apt-get install -y php7.0-xml php7.0-dev php-pear libv8-5.4 \
|
||||||
&& pecl install v8js \
|
&& pecl install v8js \
|
||||||
&& echo "extension=v8js.so" >> /etc/php/7.0/cli/php.ini \
|
&& echo "extension=v8js.so" >> /etc/php/7.0/cli/php.ini \
|
||||||
@ -371,7 +370,6 @@ ENV INSTALL_LINUXBREW ${INSTALL_LINUXBREW}
|
|||||||
RUN if [ ${INSTALL_LINUXBREW} = true ]; then \
|
RUN if [ ${INSTALL_LINUXBREW} = true ]; then \
|
||||||
|
|
||||||
# Preparation
|
# Preparation
|
||||||
apt-get update && \
|
|
||||||
apt-get upgrade -y && \
|
apt-get upgrade -y && \
|
||||||
apt-get install -y build-essential make cmake scons curl git \
|
apt-get install -y build-essential make cmake scons curl git \
|
||||||
ruby autoconf automake autoconf-archive \
|
ruby autoconf automake autoconf-archive \
|
||||||
@ -404,7 +402,6 @@ RUN if [ ${INSTALL_MSSQL} = true ]; then \
|
|||||||
# Install Depenencies:
|
# Install Depenencies:
|
||||||
#####################################
|
#####################################
|
||||||
cd / && \
|
cd / && \
|
||||||
apt-get update && \
|
|
||||||
apt-get install -y --force-yes wget apt-transport-https curl freetds-common libsybdb5 freetds-bin unixodbc unixodbc-dev && \
|
apt-get install -y --force-yes wget apt-transport-https curl freetds-common libsybdb5 freetds-bin unixodbc unixodbc-dev && \
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
@ -421,13 +418,12 @@ RUN if [ ${INSTALL_MSSQL} = true ]; then \
|
|||||||
| tee /etc/apt/sources.list.d/dotdeb.list \
|
| tee /etc/apt/sources.list.d/dotdeb.list \
|
||||||
&& wget -qO- https://www.dotdeb.org/dotdeb.gpg \
|
&& wget -qO- https://www.dotdeb.org/dotdeb.gpg \
|
||||||
| apt-key add - \
|
| apt-key add - \
|
||||||
&& apt-get update \
|
&& apt-get update -yqq \
|
||||||
&& apt-get upgrade -qq && \
|
&& apt-get upgrade -qq && \
|
||||||
|
|
||||||
# Install UnixODBC
|
# Install UnixODBC
|
||||||
# Compile odbc_config as it is not part of unixodbc package
|
# Compile odbc_config as it is not part of unixodbc package
|
||||||
cd / && \
|
cd / && \
|
||||||
apt-get update && \
|
|
||||||
apt-get install -y whiptail \
|
apt-get install -y whiptail \
|
||||||
unixodbc libgss3 odbcinst devscripts debhelper dh-exec dh-autoreconf libreadline-dev libltdl-dev \
|
unixodbc libgss3 odbcinst devscripts debhelper dh-exec dh-autoreconf libreadline-dev libltdl-dev \
|
||||||
&& dget -u -x http://http.debian.net/debian/pool/main/u/unixodbc/unixodbc_2.3.1-3.dsc \
|
&& dget -u -x http://http.debian.net/debian/pool/main/u/unixodbc/unixodbc_2.3.1-3.dsc \
|
||||||
|
@ -47,8 +47,8 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|||||||
ARG PUID=1000
|
ARG PUID=1000
|
||||||
ARG PGID=1000
|
ARG PGID=1000
|
||||||
RUN groupadd -g $PGID laradock && \
|
RUN groupadd -g $PGID laradock && \
|
||||||
useradd -u $PUID -g laradock -m laradock
|
useradd -u $PUID -g laradock -m laradock && \
|
||||||
|
apt-get update -yqq
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# SOAP:
|
# SOAP:
|
||||||
@ -60,8 +60,8 @@ ENV INSTALL_SOAP ${INSTALL_SOAP}
|
|||||||
|
|
||||||
RUN if [ ${INSTALL_SOAP} = true ]; then \
|
RUN if [ ${INSTALL_SOAP} = true ]; then \
|
||||||
# Install the PHP SOAP extension
|
# Install the PHP SOAP extension
|
||||||
apt-get -y update && \
|
|
||||||
add-apt-repository -y ppa:ondrej/php && \
|
add-apt-repository -y ppa:ondrej/php && \
|
||||||
|
apt-get update -yqq && \
|
||||||
apt-get -y install libxml2-dev php7.1-soap \
|
apt-get -y install libxml2-dev php7.1-soap \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
@ -124,7 +124,6 @@ RUN echo "" >> ~/.bashrc && \
|
|||||||
ARG INSTALL_XDEBUG=false
|
ARG INSTALL_XDEBUG=false
|
||||||
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
||||||
# Load the xdebug extension only with phpunit commands
|
# Load the xdebug extension only with phpunit commands
|
||||||
apt-get update && \
|
|
||||||
apt-get install -y --force-yes php-xdebug && \
|
apt-get install -y --force-yes php-xdebug && \
|
||||||
sed -i 's/^/;/g' /etc/php/7.1/cli/conf.d/20-xdebug.ini && \
|
sed -i 's/^/;/g' /etc/php/7.1/cli/conf.d/20-xdebug.ini && \
|
||||||
echo "alias phpunit='php -dzend_extension=xdebug.so /var/www/vendor/bin/phpunit'" >> ~/.bashrc \
|
echo "alias phpunit='php -dzend_extension=xdebug.so /var/www/vendor/bin/phpunit'" >> ~/.bashrc \
|
||||||
@ -146,7 +145,7 @@ ENV BLACKFIRE_CLIENT_TOKEN ${BLACKFIRE_CLIENT_TOKEN}
|
|||||||
RUN if [ ${INSTALL_XDEBUG} = false -a ${INSTALL_BLACKFIRE} = true ]; then \
|
RUN if [ ${INSTALL_XDEBUG} = false -a ${INSTALL_BLACKFIRE} = true ]; then \
|
||||||
curl -L https://packagecloud.io/gpg.key | apt-key add - && \
|
curl -L https://packagecloud.io/gpg.key | apt-key add - && \
|
||||||
echo "deb http://packages.blackfire.io/debian any main" | tee /etc/apt/sources.list.d/blackfire.list && \
|
echo "deb http://packages.blackfire.io/debian any main" | tee /etc/apt/sources.list.d/blackfire.list && \
|
||||||
apt-get update && \
|
apt-get update -yqq && \
|
||||||
apt-get install blackfire-agent \
|
apt-get install blackfire-agent \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
@ -306,7 +305,7 @@ ENV INSTALL_V8JS_EXTENSION ${INSTALL_V8JS_EXTENSION}
|
|||||||
RUN if [ ${INSTALL_V8JS_EXTENSION} = true ]; then \
|
RUN if [ ${INSTALL_V8JS_EXTENSION} = true ]; then \
|
||||||
# Install the php V8JS extension
|
# Install the php V8JS extension
|
||||||
add-apt-repository -y ppa:pinepain/libv8-5.4 \
|
add-apt-repository -y ppa:pinepain/libv8-5.4 \
|
||||||
&& apt-get update \
|
&& apt-get update -yqq \
|
||||||
&& apt-get install -y php-xml php-dev php-pear libv8-5.4 \
|
&& apt-get install -y php-xml php-dev php-pear libv8-5.4 \
|
||||||
&& pecl install v8js \
|
&& pecl install v8js \
|
||||||
&& echo "extension=v8js.so" >> /etc/php/7.1/cli/php.ini \
|
&& echo "extension=v8js.so" >> /etc/php/7.1/cli/php.ini \
|
||||||
@ -367,7 +366,6 @@ ENV INSTALL_LINUXBREW ${INSTALL_LINUXBREW}
|
|||||||
RUN if [ ${INSTALL_LINUXBREW} = true ]; then \
|
RUN if [ ${INSTALL_LINUXBREW} = true ]; then \
|
||||||
|
|
||||||
# Preparation
|
# Preparation
|
||||||
apt-get update && \
|
|
||||||
apt-get upgrade -y && \
|
apt-get upgrade -y && \
|
||||||
apt-get install -y build-essential make cmake scons curl git \
|
apt-get install -y build-essential make cmake scons curl git \
|
||||||
ruby autoconf automake autoconf-archive \
|
ruby autoconf automake autoconf-archive \
|
||||||
@ -400,7 +398,7 @@ RUN if [ ${INSTALL_MSSQL} = true ]; then \
|
|||||||
# Install Depenencies:
|
# Install Depenencies:
|
||||||
#####################################
|
#####################################
|
||||||
cd / && \
|
cd / && \
|
||||||
apt-get update && \
|
apt-get update -yqq && \
|
||||||
apt-get install -y --force-yes wget apt-transport-https curl freetds-common libsybdb5 freetds-bin unixodbc unixodbc-dev && \
|
apt-get install -y --force-yes wget apt-transport-https curl freetds-common libsybdb5 freetds-bin unixodbc unixodbc-dev && \
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
@ -417,13 +415,13 @@ RUN if [ ${INSTALL_MSSQL} = true ]; then \
|
|||||||
| tee /etc/apt/sources.list.d/dotdeb.list \
|
| tee /etc/apt/sources.list.d/dotdeb.list \
|
||||||
&& wget -qO- https://www.dotdeb.org/dotdeb.gpg \
|
&& wget -qO- https://www.dotdeb.org/dotdeb.gpg \
|
||||||
| apt-key add - \
|
| apt-key add - \
|
||||||
&& apt-get update \
|
&& apt-get update -yqq \
|
||||||
&& apt-get upgrade -qq && \
|
&& apt-get upgrade -qq && \
|
||||||
|
|
||||||
# Install UnixODBC
|
# Install UnixODBC
|
||||||
# Compile odbc_config as it is not part of unixodbc package
|
# Compile odbc_config as it is not part of unixodbc package
|
||||||
cd / && \
|
cd / && \
|
||||||
apt-get update && \
|
apt-get update -yqq && \
|
||||||
apt-get install -y whiptail \
|
apt-get install -y whiptail \
|
||||||
unixodbc libgss3 odbcinst devscripts debhelper dh-exec dh-autoreconf libreadline-dev libltdl-dev \
|
unixodbc libgss3 odbcinst devscripts debhelper dh-exec dh-autoreconf libreadline-dev libltdl-dev \
|
||||||
&& dget -u -x http://http.debian.net/debian/pool/main/u/unixodbc/unixodbc_2.3.1-3.dsc \
|
&& dget -u -x http://http.debian.net/debian/pool/main/u/unixodbc/unixodbc_2.3.1-3.dsc \
|
||||||
|
Loading…
Reference in New Issue
Block a user