Skip to content

Commit 6101c94

Browse files
Merge pull request #1 from docker-library/master
update from base
2 parents cd1769f + 893b4f7 commit 6101c94

25 files changed

+202
-29
lines changed

5.5/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM debian:jessie
28

39
# persistent / runtime deps
@@ -61,7 +67,6 @@ RUN set -xe \
6167
&& ./configure \
6268
--with-config-file-path="$PHP_INI_DIR" \
6369
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
64-
$PHP_EXTRA_CONFIGURE_ARGS \
6570
--disable-cgi \
6671
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
6772
--enable-mysqlnd \
@@ -71,6 +76,7 @@ RUN set -xe \
7176
--with-libedit \
7277
--with-openssl \
7378
--with-zlib \
79+
$PHP_EXTRA_CONFIGURE_ARGS \
7480
&& make -j"$(nproc)" \
7581
&& make install \
7682
&& { find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; } \

5.5/alpine/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM alpine:3.4
28

39
# persistent / runtime deps
@@ -68,7 +74,6 @@ RUN set -xe \
6874
&& ./configure \
6975
--with-config-file-path="$PHP_INI_DIR" \
7076
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
71-
$PHP_EXTRA_CONFIGURE_ARGS \
7277
--disable-cgi \
7378
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
7479
--enable-mysqlnd \
@@ -78,6 +83,7 @@ RUN set -xe \
7883
--with-libedit \
7984
--with-openssl \
8085
--with-zlib \
86+
$PHP_EXTRA_CONFIGURE_ARGS \
8187
&& make -j"$(getconf _NPROCESSORS_ONLN)" \
8288
&& make install \
8389
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \

5.5/apache/Dockerfile

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM debian:jessie
28

39
# persistent / runtime deps
@@ -29,8 +35,17 @@ RUN apt-get update && apt-get install -y apache2-bin apache2.2-common --no-insta
2935
ENV APACHE_CONFDIR /etc/apache2
3036
ENV APACHE_ENVVARS $APACHE_CONFDIR/envvars
3137

32-
# setup directories and permissions
3338
RUN set -ex \
39+
\
40+
# generically convert lines like
41+
# export APACHE_RUN_USER=www-data
42+
# into
43+
# : ${APACHE_RUN_USER:=www-data}
44+
# export APACHE_RUN_USER
45+
# so that they can be overridden at runtime ("-e APACHE_RUN_USER=...")
46+
&& sed -r 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS" \
47+
\
48+
# setup directories and permissions
3449
&& . "$APACHE_ENVVARS" \
3550
&& for dir in \
3651
"$APACHE_LOCK_DIR" \
@@ -108,7 +123,6 @@ RUN set -xe \
108123
&& ./configure \
109124
--with-config-file-path="$PHP_INI_DIR" \
110125
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
111-
$PHP_EXTRA_CONFIGURE_ARGS \
112126
--disable-cgi \
113127
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
114128
--enable-mysqlnd \
@@ -118,6 +132,7 @@ RUN set -xe \
118132
--with-libedit \
119133
--with-openssl \
120134
--with-zlib \
135+
$PHP_EXTRA_CONFIGURE_ARGS \
121136
&& make -j"$(nproc)" \
122137
&& make install \
123138
&& { find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; } \

5.5/fpm/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM debian:jessie
28

39
# persistent / runtime deps
@@ -62,7 +68,6 @@ RUN set -xe \
6268
&& ./configure \
6369
--with-config-file-path="$PHP_INI_DIR" \
6470
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
65-
$PHP_EXTRA_CONFIGURE_ARGS \
6671
--disable-cgi \
6772
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
6873
--enable-mysqlnd \
@@ -72,6 +77,7 @@ RUN set -xe \
7277
--with-libedit \
7378
--with-openssl \
7479
--with-zlib \
80+
$PHP_EXTRA_CONFIGURE_ARGS \
7581
&& make -j"$(nproc)" \
7682
&& make install \
7783
&& { find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; } \

5.5/fpm/alpine/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM alpine:3.4
28

39
# persistent / runtime deps
@@ -69,7 +75,6 @@ RUN set -xe \
6975
&& ./configure \
7076
--with-config-file-path="$PHP_INI_DIR" \
7177
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
72-
$PHP_EXTRA_CONFIGURE_ARGS \
7378
--disable-cgi \
7479
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
7580
--enable-mysqlnd \
@@ -79,6 +84,7 @@ RUN set -xe \
7984
--with-libedit \
8085
--with-openssl \
8186
--with-zlib \
87+
$PHP_EXTRA_CONFIGURE_ARGS \
8288
&& make -j"$(getconf _NPROCESSORS_ONLN)" \
8389
&& make install \
8490
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \

5.5/zts/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM debian:jessie
28

39
# persistent / runtime deps
@@ -62,7 +68,6 @@ RUN set -xe \
6268
&& ./configure \
6369
--with-config-file-path="$PHP_INI_DIR" \
6470
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
65-
$PHP_EXTRA_CONFIGURE_ARGS \
6671
--disable-cgi \
6772
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
6873
--enable-mysqlnd \
@@ -72,6 +77,7 @@ RUN set -xe \
7277
--with-libedit \
7378
--with-openssl \
7479
--with-zlib \
80+
$PHP_EXTRA_CONFIGURE_ARGS \
7581
&& make -j"$(nproc)" \
7682
&& make install \
7783
&& { find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; } \

5.5/zts/alpine/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM alpine:3.4
28

39
# persistent / runtime deps
@@ -69,7 +75,6 @@ RUN set -xe \
6975
&& ./configure \
7076
--with-config-file-path="$PHP_INI_DIR" \
7177
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
72-
$PHP_EXTRA_CONFIGURE_ARGS \
7378
--disable-cgi \
7479
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
7580
--enable-mysqlnd \
@@ -79,6 +84,7 @@ RUN set -xe \
7984
--with-libedit \
8085
--with-openssl \
8186
--with-zlib \
87+
$PHP_EXTRA_CONFIGURE_ARGS \
8288
&& make -j"$(getconf _NPROCESSORS_ONLN)" \
8389
&& make install \
8490
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \

5.6/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM debian:jessie
28

39
# persistent / runtime deps
@@ -61,7 +67,6 @@ RUN set -xe \
6167
&& ./configure \
6268
--with-config-file-path="$PHP_INI_DIR" \
6369
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
64-
$PHP_EXTRA_CONFIGURE_ARGS \
6570
--disable-cgi \
6671
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
6772
--enable-mysqlnd \
@@ -71,6 +76,7 @@ RUN set -xe \
7176
--with-libedit \
7277
--with-openssl \
7378
--with-zlib \
79+
$PHP_EXTRA_CONFIGURE_ARGS \
7480
&& make -j"$(nproc)" \
7581
&& make install \
7682
&& { find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; } \

5.6/alpine/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM alpine:3.4
28

39
# persistent / runtime deps
@@ -68,7 +74,6 @@ RUN set -xe \
6874
&& ./configure \
6975
--with-config-file-path="$PHP_INI_DIR" \
7076
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
71-
$PHP_EXTRA_CONFIGURE_ARGS \
7277
--disable-cgi \
7378
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
7479
--enable-mysqlnd \
@@ -78,6 +83,7 @@ RUN set -xe \
7883
--with-libedit \
7984
--with-openssl \
8085
--with-zlib \
86+
$PHP_EXTRA_CONFIGURE_ARGS \
8187
&& make -j"$(getconf _NPROCESSORS_ONLN)" \
8288
&& make install \
8389
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \

5.6/apache/Dockerfile

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM debian:jessie
28

39
# persistent / runtime deps
@@ -29,8 +35,17 @@ RUN apt-get update && apt-get install -y apache2-bin apache2.2-common --no-insta
2935
ENV APACHE_CONFDIR /etc/apache2
3036
ENV APACHE_ENVVARS $APACHE_CONFDIR/envvars
3137

32-
# setup directories and permissions
3338
RUN set -ex \
39+
\
40+
# generically convert lines like
41+
# export APACHE_RUN_USER=www-data
42+
# into
43+
# : ${APACHE_RUN_USER:=www-data}
44+
# export APACHE_RUN_USER
45+
# so that they can be overridden at runtime ("-e APACHE_RUN_USER=...")
46+
&& sed -r 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS" \
47+
\
48+
# setup directories and permissions
3449
&& . "$APACHE_ENVVARS" \
3550
&& for dir in \
3651
"$APACHE_LOCK_DIR" \
@@ -108,7 +123,6 @@ RUN set -xe \
108123
&& ./configure \
109124
--with-config-file-path="$PHP_INI_DIR" \
110125
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
111-
$PHP_EXTRA_CONFIGURE_ARGS \
112126
--disable-cgi \
113127
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
114128
--enable-mysqlnd \
@@ -118,6 +132,7 @@ RUN set -xe \
118132
--with-libedit \
119133
--with-openssl \
120134
--with-zlib \
135+
$PHP_EXTRA_CONFIGURE_ARGS \
121136
&& make -j"$(nproc)" \
122137
&& make install \
123138
&& { find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; } \

5.6/fpm/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM debian:jessie
28

39
# persistent / runtime deps
@@ -62,7 +68,6 @@ RUN set -xe \
6268
&& ./configure \
6369
--with-config-file-path="$PHP_INI_DIR" \
6470
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
65-
$PHP_EXTRA_CONFIGURE_ARGS \
6671
--disable-cgi \
6772
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
6873
--enable-mysqlnd \
@@ -72,6 +77,7 @@ RUN set -xe \
7277
--with-libedit \
7378
--with-openssl \
7479
--with-zlib \
80+
$PHP_EXTRA_CONFIGURE_ARGS \
7581
&& make -j"$(nproc)" \
7682
&& make install \
7783
&& { find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; } \

5.6/fpm/alpine/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM alpine:3.4
28

39
# persistent / runtime deps
@@ -69,7 +75,6 @@ RUN set -xe \
6975
&& ./configure \
7076
--with-config-file-path="$PHP_INI_DIR" \
7177
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
72-
$PHP_EXTRA_CONFIGURE_ARGS \
7378
--disable-cgi \
7479
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
7580
--enable-mysqlnd \
@@ -79,6 +84,7 @@ RUN set -xe \
7984
--with-libedit \
8085
--with-openssl \
8186
--with-zlib \
87+
$PHP_EXTRA_CONFIGURE_ARGS \
8288
&& make -j"$(getconf _NPROCESSORS_ONLN)" \
8389
&& make install \
8490
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \

5.6/zts/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
17
FROM debian:jessie
28

39
# persistent / runtime deps
@@ -62,7 +68,6 @@ RUN set -xe \
6268
&& ./configure \
6369
--with-config-file-path="$PHP_INI_DIR" \
6470
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
65-
$PHP_EXTRA_CONFIGURE_ARGS \
6671
--disable-cgi \
6772
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
6873
--enable-mysqlnd \
@@ -72,6 +77,7 @@ RUN set -xe \
7277
--with-libedit \
7378
--with-openssl \
7479
--with-zlib \
80+
$PHP_EXTRA_CONFIGURE_ARGS \
7581
&& make -j"$(nproc)" \
7682
&& make install \
7783
&& { find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; } \

0 commit comments

Comments
 (0)