-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
36 lines (31 loc) · 1.11 KB
/
Dockerfile
File metadata and controls
36 lines (31 loc) · 1.11 KB
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
FROM quay.io/bfren/apache:apache2.4.56-alpine3.15-3.0.10
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache-php"
ARG BF_IMAGE
ARG BF_VERSION
COPY ./overlay /
COPY ./7.4/overlay /
ENV \
# PHP config directory
PHP_DIR=/etc/php7 \
# www.conf override: log_level
PHP_FPM_LOG_LEVEL="notice" \
# php.ini template to use, or 'custom' if you want to bind your own custom php.ini -
# which will cause the other PHP_INI_* environment variables to be ignored
PHP_INI="production" \
# php.ini override: display_errors
PHP_INI_DISPLAY_ERRORS= \
# php.ini override: display_startup_errors
PHP_INI_DISPLAY_STARTUP_ERRORS= \
# php.ini override: error_log
PHP_INI_ERROR_LOG="/var/log/php7/error.log" \
# php.ini override: err-r_reporting
PHP_INI_ERROR_REPORTING= \
# php.ini override: memory_limit
PHP_INI_MEMORY_LIMIT="256M" \
# php.ini override: max_post
PHP_INI_MAX_POST="64M" \
# php.ini override: max_upload
PHP_INI_MAX_UPLOAD="64M" \
# php.ini override: session_max_lifetime
PHP_SESSION_MAX_LIFETIME=86400
RUN bf-install