Skip to content
Snippets Groups Projects

Add Xdebug

Merged Erick Hitter requested to merge add/5-xdebug into master
Files
9
+ 32
4
@@ -4,14 +4,42 @@ LABEL maintainer="ethitter"
LABEL version="1.0"
RUN apt-get update \
&& apt-get -yqqf install lsb-release zip unzip rsync subversion git mysql-client libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev --fix-missing --no-install-recommends \
&& apt-get -yqqf install \
lsb-release \
zip \
unzip \
rsync \
subversion \
git \
libicu-dev \
libpng-dev \
libbz2-dev \
default-libmysqlclient-dev \
libzip-dev \
libonig-dev \
--fix-missing \
--no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-install mbstring mysqli intl gd zip bz2
RUN docker-php-ext-install \
mbstring \
mysqli \
intl \
gd \
zip \
bz2 \
&& php -m
ENV NVM_DIR /usr/local/nvm
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN chmod +x /usr/local/bin/composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& chmod +x /usr/local/bin/composer \
&& composer --version \
&& mkdir $NVM_DIR \
&& curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash \
&& . $NVM_DIR/nvm.sh \
&& nvm --version
ENV PATH=/root/.composer/vendor/bin:$HOME/.composer/vendor/bin:$PATH
Loading