Skip to content

Commit 0623771

Browse files
committed
Changing generate variable name
1 parent ffa4083 commit 0623771

7 files changed

Lines changed: 22 additions & 22 deletions

File tree

5.6/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache-ph
55
ARG BF_IMAGE
66
ARG BF_VERSION
77

8+
COPY ./overlay /
9+
COPY ./5.6/overlay /
10+
811
ENV \
912
# PHP config directory
1013
PHP_DIR=/etc/php5 \
@@ -30,7 +33,4 @@ ENV \
3033
# php.ini override: session_max_lifetime
3134
PHP_SESSION_MAX_LIFETIME=86400
3235

33-
COPY ./overlay /
34-
COPY ./5.6/overlay /
35-
3636
RUN bf-install

7.4/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache-ph
55
ARG BF_IMAGE
66
ARG BF_VERSION
77

8+
COPY ./overlay /
9+
COPY ./7.4/overlay /
10+
811
ENV \
912
# PHP config directory
1013
PHP_DIR=/etc/php7 \
@@ -30,7 +33,4 @@ ENV \
3033
# php.ini override: session_max_lifetime
3134
PHP_SESSION_MAX_LIFETIME=86400
3235

33-
COPY ./overlay /
34-
COPY ./7.4/overlay /
35-
3636
RUN bf-install

8.0/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache-ph
55
ARG BF_IMAGE
66
ARG BF_VERSION
77

8+
COPY ./overlay /
9+
COPY ./8.0/overlay /
10+
811
ENV \
912
# PHP config directory
1013
PHP_DIR=/etc/php8 \
@@ -30,7 +33,4 @@ ENV \
3033
# php.ini override: session_max_lifetime
3134
PHP_SESSION_MAX_LIFETIME=86400
3235

33-
COPY ./overlay /
34-
COPY ./8.0/overlay /
35-
3636
RUN bf-install

8.1/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache-ph
55
ARG BF_IMAGE
66
ARG BF_VERSION
77

8+
COPY ./overlay /
9+
COPY ./8.1/overlay /
10+
811
ENV \
912
# PHP config directory
1013
PHP_DIR=/etc/php8 \
@@ -30,7 +33,4 @@ ENV \
3033
# php.ini override: session_max_lifetime
3134
PHP_SESSION_MAX_LIFETIME=86400
3235

33-
COPY ./overlay /
34-
COPY ./8.1/overlay /
35-
3636
RUN bf-install

8.2/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache-ph
55
ARG BF_IMAGE
66
ARG BF_VERSION
77

8+
COPY ./overlay /
9+
COPY ./8.2/overlay /
10+
811
ENV \
912
# PHP config directory
1013
PHP_DIR=/etc/php8 \
@@ -30,7 +33,4 @@ ENV \
3033
# php.ini override: session_max_lifetime
3134
PHP_SESSION_MAX_LIFETIME=86400
3235

33-
COPY ./overlay /
34-
COPY ./8.2/overlay /
35-
3636
RUN bf-install

Dockerfile.esh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
FROM bfren/apache:<%= ${APACHE_BASE} %>-<%= ${BASE_REVISION} %>
1+
FROM bfren/apache:<%= ${APACHE_BASE} %>-<%= ${BASE_VERSION} %>
22

33
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache-php"
44

55
ARG BF_IMAGE
66
ARG BF_VERSION
77

8+
COPY ./overlay /
9+
COPY ./<%= ${PHP_MINOR} %>/overlay /
10+
811
ENV \
912
# PHP config directory
1013
PHP_DIR=/etc/php<%= ${PHP_MAJOR} %> \
@@ -30,7 +33,4 @@ ENV \
3033
# php.ini override: session_max_lifetime
3134
PHP_SESSION_MAX_LIFETIME=86400
3235

33-
COPY ./overlay /
34-
COPY ./<%= ${PHP_MINOR} %>/overlay /
35-
3636
RUN bf-install

generate-dockerfiles.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ set -euo pipefail
44

55
docker 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

1010
PHP_VERSIONS="5.6 7.4 8.0 8.1 8.2"
1111
for 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}

0 commit comments

Comments
 (0)