-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.esh
36 lines (31 loc) · 1.17 KB
/
Dockerfile.esh
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 bfren/apache:<%= ${APACHE_BASE} %>-<%= ${BASE_REVISION} %>
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache-php"
ARG BF_IMAGE
ARG BF_VERSION
ENV \
# PHP config directory
PHP_DIR=/etc/php<%= ${PHP_MAJOR} %> \
# 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/php<%= ${PHP_MAJOR} %>/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
COPY ./overlay /
COPY ./<%= ${PHP_MINOR} %>/overlay /
RUN bf-install