first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
18
base/php/7.4-xdebug/Dockerfile
Normal file
18
base/php/7.4-xdebug/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM php:7.4-apache
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
RUN set -ex \
|
||||
&& pecl install xdebug-3.1.6 \
|
||||
&& docker-php-ext-enable xdebug
|
||||
|
||||
RUN set -ex \
|
||||
&& { \
|
||||
echo "xdebug.mode = debug"; \
|
||||
echo "xdebug.discover_client_host = 1"; \
|
||||
echo "xdebug.log = /tmp/xdebug.log"; \
|
||||
} >> /usr/local/etc/php/conf.d/xdebug.ini \
|
||||
&& echo "date.timezone = \"UTC\"" >> /usr/local/etc/php/conf.d/timezone.ini \
|
||||
&& a2enmod rewrite
|
||||
|
||||
EXPOSE 80
|
Reference in New Issue
Block a user