-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
36 lines (30 loc) · 1.11 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright (c) 2019 FEROX YT EIRL, www.ferox.yt <[email protected]>
# Copyright (c) 2019 Jérémy WALTHER <[email protected]>
# See <https://github.com/frxyt/docker-php-dev> for details.
ARG FRX_DOCKER_FROM=php:apache
FROM ${FRX_DOCKER_FROM}
LABEL maintainer="Jérémy WALTHER <[email protected]>"
ENV COMPOSER_ALLOW_SUPERUSER=1 \
COMPOSER_DISABLE_XDEBUG_WARN=1 \
FRX_APACHE_DOCUMENT_ROOT= \
FRX_APACHE_ENABLE_MOD= \
FRX_APT_GET_INSTALL= \
FRX_COMPOSER_VENDOR_CACHE_ENABLE=0 \
FRX_COMPOSER_VENDOR_CACHE_PATH=vendor \
FRX_DOCKER_FROM=${FRX_DOCKER_FROM} \
FRX_PECL_INSTALL= \
FRX_PHP_EXT_CONFIGURE= \
FRX_PHP_EXT_ENABLE= \
FRX_PHP_EXT_INSTALL= \
FRX_PHP_INI= \
FRX_PHP_TIDEWAYS_XHPROF_CLOCK_USE_RDTSC=0 \
FRX_PHP_XDEBUG_MAX_NESTING_LEVEL=-1 \
FRX_PHP_XDEBUG_REMOTE_AUTOSTART=1 \
FRX_PHP_XDEBUG_REMOTE_CONNECT_BACK=0 \
FRX_PHP_XDEBUG_REMOTE_ENABLE=1 \
FRX_PHP_XDEBUG_REMOTE_HOST=host.docker.internal \
FRX_PHP_XDEBUG_REMOTE_PORT=9000 \
FRX_SCRIPT_START=
COPY ./build ./Dockerfile ./LICENSE ./README.md /frx/
VOLUME /frx/composer/vendor
RUN /frx/build