Commit 38cb831b authored by alexanderhilcher's avatar alexanderhilcher

- Bugfix shell script

- Fix permissions for php conf.d dir
parent d57548c7
......@@ -10,6 +10,7 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
RUN apt-get update && \
apt-get install -y autoconf dpkg dpkg-dev file g++ gcc make pkgconf re2c && \
pecl install xdebug && \
chmod 777 /usr/local/etc/php/conf.d/ && \
rm -rf /var/lib/apt/lists/*
# TODO: Remove packages again, currently apt will bail out with:
# "WARNING: The following essential packages will be removed.
......
#!/bin/sh
#!/bin/bash
set -o errexit
set -o pipefail
# must be enabled as zend_extension, so just echo it instead of loading with php-ext-enable
echo "zend_extension=xdebug.so
xdebug.remote_port=${XDEBUG_REMOTE_PORT:-9000}
xdebug.remote_enable=${XDEBUG_REMOTE_ENABLE:-1}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment