File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache-ph
55ARG BF_IMAGE
66ARG BF_VERSION
77
8+ COPY ./overlay /
9+ COPY ./5.6/overlay /
10+
811ENV \
912 # PHP config directory
1013 PHP_DIR=/etc/php5 \
3033 # php.ini override: session_max_lifetime
3134 PHP_SESSION_MAX_LIFETIME=86400
3235
33- COPY ./overlay /
34- COPY ./5.6/overlay /
35-
3636RUN bf-install
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache-ph
55ARG BF_IMAGE
66ARG BF_VERSION
77
8+ COPY ./overlay /
9+ COPY ./7.4/overlay /
10+
811ENV \
912 # PHP config directory
1013 PHP_DIR=/etc/php7 \
3033 # php.ini override: session_max_lifetime
3134 PHP_SESSION_MAX_LIFETIME=86400
3235
33- COPY ./overlay /
34- COPY ./7.4/overlay /
35-
3636RUN bf-install
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache-ph
55ARG BF_IMAGE
66ARG BF_VERSION
77
8+ COPY ./overlay /
9+ COPY ./8.0/overlay /
10+
811ENV \
912 # PHP config directory
1013 PHP_DIR=/etc/php8 \
3033 # php.ini override: session_max_lifetime
3134 PHP_SESSION_MAX_LIFETIME=86400
3235
33- COPY ./overlay /
34- COPY ./8.0/overlay /
35-
3636RUN bf-install
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache-ph
55ARG BF_IMAGE
66ARG BF_VERSION
77
8+ COPY ./overlay /
9+ COPY ./8.1/overlay /
10+
811ENV \
912 # PHP config directory
1013 PHP_DIR=/etc/php8 \
3033 # php.ini override: session_max_lifetime
3134 PHP_SESSION_MAX_LIFETIME=86400
3235
33- COPY ./overlay /
34- COPY ./8.1/overlay /
35-
3636RUN bf-install
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache-ph
55ARG BF_IMAGE
66ARG BF_VERSION
77
8+ COPY ./overlay /
9+ COPY ./8.2/overlay /
10+
811ENV \
912 # PHP config directory
1013 PHP_DIR=/etc/php8 \
3033 # php.ini override: session_max_lifetime
3134 PHP_SESSION_MAX_LIFETIME=86400
3235
33- COPY ./overlay /
34- COPY ./8.2/overlay /
35-
3636RUN bf-install
Original file line number Diff line number Diff line change 1- FROM bfren/apache:<%= ${APACHE_BASE} %>-<%= ${BASE_REVISION } %>
1+ FROM bfren/apache:<%= ${APACHE_BASE} %>-<%= ${BASE_VERSION } %>
22
33LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache-php"
44
55ARG BF_IMAGE
66ARG BF_VERSION
77
8+ COPY ./overlay /
9+ COPY ./<%= ${PHP_MINOR} %>/overlay /
10+
811ENV \
912 # PHP config directory
1013 PHP_DIR=/etc/php<%= ${PHP_MAJOR} %> \
3033 # php.ini override: session_max_lifetime
3134 PHP_SESSION_MAX_LIFETIME=86400
3235
33- COPY ./overlay /
34- COPY ./<%= ${PHP_MINOR} %>/overlay /
35-
3636RUN bf-install
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ set -euo pipefail
44
55docker pull bfren/alpine
66
7- BASE_REVISION =" 3.0.10"
8- echo " Base: ${BASE_REVISION } "
7+ BASE_VERSION =" 3.0.10"
8+ echo " Base: ${BASE_VERSION } "
99
1010PHP_VERSIONS=" 5.6 7.4 8.0 8.1 8.2"
1111for V in ${PHP_VERSIONS} ; do
@@ -19,7 +19,7 @@ for V in ${PHP_VERSIONS} ; do
1919 -e BF_DEBUG=0 \
2020 bfren/alpine esh \
2121 " /ws/Dockerfile.esh" \
22- BASE_REVISION =${BASE_REVISION } \
22+ BASE_VERSION =${BASE_VERSION } \
2323 APACHE_BASE=${APACHE_BASE} \
2424 PHP_MAJOR=${PHP_MAJOR} \
2525 PHP_MINOR=${V}
You can’t perform that action at this time.
0 commit comments