Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions 5.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#

FROM debian:jessie
FROM debian:jessie-slim

# persistent / runtime deps
ENV PHPIZE_DEPS \
Expand All @@ -19,7 +19,6 @@ ENV PHPIZE_DEPS \
pkg-config \
re2c
RUN apt-get update && apt-get install -y \
$PHPIZE_DEPS \
ca-certificates \
curl \
libedit2 \
Expand Down
6 changes: 6 additions & 0 deletions 5.6/alpine/docker-php-source
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ case "$1" in
if [ ! -f "$dir/.docker-extracted" ]; then
tar -Jxf /usr/src/php.tar.xz -C "$dir" --strip-components=1
touch "$dir/.docker-extracted"
if [ -e /etc/debian_version ]; then
apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
fi
fi
;;

delete)
rm -rf "$dir"
if [ -e /etc/debian_version ]; then
apt-get purge -y --auto-remove $PHPIZE_DEPS
fi
;;

*)
Expand Down
3 changes: 1 addition & 2 deletions 5.6/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#

FROM debian:jessie
FROM debian:jessie-slim

# persistent / runtime deps
ENV PHPIZE_DEPS \
Expand All @@ -19,7 +19,6 @@ ENV PHPIZE_DEPS \
pkg-config \
re2c
RUN apt-get update && apt-get install -y \
$PHPIZE_DEPS \
ca-certificates \
curl \
libedit2 \
Expand Down
6 changes: 6 additions & 0 deletions 5.6/apache/docker-php-source
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ case "$1" in
if [ ! -f "$dir/.docker-extracted" ]; then
tar -Jxf /usr/src/php.tar.xz -C "$dir" --strip-components=1
touch "$dir/.docker-extracted"
if [ -e /etc/debian_version ]; then
apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
fi
fi
;;

delete)
rm -rf "$dir"
if [ -e /etc/debian_version ]; then
apt-get purge -y --auto-remove $PHPIZE_DEPS
fi
;;

*)
Expand Down
6 changes: 6 additions & 0 deletions 5.6/docker-php-source
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ case "$1" in
if [ ! -f "$dir/.docker-extracted" ]; then
tar -Jxf /usr/src/php.tar.xz -C "$dir" --strip-components=1
touch "$dir/.docker-extracted"
if [ -e /etc/debian_version ]; then
apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
fi
fi
;;

delete)
rm -rf "$dir"
if [ -e /etc/debian_version ]; then
apt-get purge -y --auto-remove $PHPIZE_DEPS
fi
;;

*)
Expand Down
3 changes: 1 addition & 2 deletions 5.6/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#

FROM debian:jessie
FROM debian:jessie-slim

# persistent / runtime deps
ENV PHPIZE_DEPS \
Expand All @@ -19,7 +19,6 @@ ENV PHPIZE_DEPS \
pkg-config \
re2c
RUN apt-get update && apt-get install -y \
$PHPIZE_DEPS \
ca-certificates \
curl \
libedit2 \
Expand Down
6 changes: 6 additions & 0 deletions 5.6/fpm/alpine/docker-php-source
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ case "$1" in
if [ ! -f "$dir/.docker-extracted" ]; then
tar -Jxf /usr/src/php.tar.xz -C "$dir" --strip-components=1
touch "$dir/.docker-extracted"
if [ -e /etc/debian_version ]; then
apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
fi
fi
;;

delete)
rm -rf "$dir"
if [ -e /etc/debian_version ]; then
apt-get purge -y --auto-remove $PHPIZE_DEPS
fi
;;

*)
Expand Down
6 changes: 6 additions & 0 deletions 5.6/fpm/docker-php-source
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ case "$1" in
if [ ! -f "$dir/.docker-extracted" ]; then
tar -Jxf /usr/src/php.tar.xz -C "$dir" --strip-components=1
touch "$dir/.docker-extracted"
if [ -e /etc/debian_version ]; then
apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
fi
fi
;;

delete)
rm -rf "$dir"
if [ -e /etc/debian_version ]; then
apt-get purge -y --auto-remove $PHPIZE_DEPS
fi
;;

*)
Expand Down
3 changes: 1 addition & 2 deletions 5.6/zts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#

FROM debian:jessie
FROM debian:jessie-slim

# persistent / runtime deps
ENV PHPIZE_DEPS \
Expand All @@ -19,7 +19,6 @@ ENV PHPIZE_DEPS \
pkg-config \
re2c
RUN apt-get update && apt-get install -y \
$PHPIZE_DEPS \
ca-certificates \
curl \
libedit2 \
Expand Down
6 changes: 6 additions & 0 deletions 5.6/zts/alpine/docker-php-source
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ case "$1" in
if [ ! -f "$dir/.docker-extracted" ]; then
tar -Jxf /usr/src/php.tar.xz -C "$dir" --strip-components=1
touch "$dir/.docker-extracted"
if [ -e /etc/debian_version ]; then
apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
fi
fi
;;

delete)
rm -rf "$dir"
if [ -e /etc/debian_version ]; then
apt-get purge -y --auto-remove $PHPIZE_DEPS
fi
;;

*)
Expand Down
6 changes: 6 additions & 0 deletions 5.6/zts/docker-php-source
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ case "$1" in
if [ ! -f "$dir/.docker-extracted" ]; then
tar -Jxf /usr/src/php.tar.xz -C "$dir" --strip-components=1
touch "$dir/.docker-extracted"
if [ -e /etc/debian_version ]; then
apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
fi
fi
;;

delete)
rm -rf "$dir"
if [ -e /etc/debian_version ]; then
apt-get purge -y --auto-remove $PHPIZE_DEPS
fi
;;

*)
Expand Down
3 changes: 1 addition & 2 deletions 7.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#

FROM debian:jessie
FROM debian:jessie-slim

# persistent / runtime deps
ENV PHPIZE_DEPS \
Expand All @@ -19,7 +19,6 @@ ENV PHPIZE_DEPS \
pkg-config \
re2c
RUN apt-get update && apt-get install -y \
$PHPIZE_DEPS \
ca-certificates \
curl \
libedit2 \
Expand Down
6 changes: 6 additions & 0 deletions 7.0/alpine/docker-php-source
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ case "$1" in
if [ ! -f "$dir/.docker-extracted" ]; then
tar -Jxf /usr/src/php.tar.xz -C "$dir" --strip-components=1
touch "$dir/.docker-extracted"
if [ -e /etc/debian_version ]; then
apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
fi
fi
;;

delete)
rm -rf "$dir"
if [ -e /etc/debian_version ]; then
apt-get purge -y --auto-remove $PHPIZE_DEPS
fi
;;

*)
Expand Down
3 changes: 1 addition & 2 deletions 7.0/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#

FROM debian:jessie
FROM debian:jessie-slim

# persistent / runtime deps
ENV PHPIZE_DEPS \
Expand All @@ -19,7 +19,6 @@ ENV PHPIZE_DEPS \
pkg-config \
re2c
RUN apt-get update && apt-get install -y \
$PHPIZE_DEPS \
ca-certificates \
curl \
libedit2 \
Expand Down
6 changes: 6 additions & 0 deletions 7.0/apache/docker-php-source
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ case "$1" in
if [ ! -f "$dir/.docker-extracted" ]; then
tar -Jxf /usr/src/php.tar.xz -C "$dir" --strip-components=1
touch "$dir/.docker-extracted"
if [ -e /etc/debian_version ]; then
apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
fi
fi
;;

delete)
rm -rf "$dir"
if [ -e /etc/debian_version ]; then
apt-get purge -y --auto-remove $PHPIZE_DEPS
fi
;;

*)
Expand Down
6 changes: 6 additions & 0 deletions 7.0/docker-php-source
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ case "$1" in
if [ ! -f "$dir/.docker-extracted" ]; then
tar -Jxf /usr/src/php.tar.xz -C "$dir" --strip-components=1
touch "$dir/.docker-extracted"
if [ -e /etc/debian_version ]; then
apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
fi
fi
;;

delete)
rm -rf "$dir"
if [ -e /etc/debian_version ]; then
apt-get purge -y --auto-remove $PHPIZE_DEPS
fi
;;

*)
Expand Down
3 changes: 1 addition & 2 deletions 7.0/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#

FROM debian:jessie
FROM debian:jessie-slim

# persistent / runtime deps
ENV PHPIZE_DEPS \
Expand All @@ -19,7 +19,6 @@ ENV PHPIZE_DEPS \
pkg-config \
re2c
RUN apt-get update && apt-get install -y \
$PHPIZE_DEPS \
ca-certificates \
curl \
libedit2 \
Expand Down
6 changes: 6 additions & 0 deletions 7.0/fpm/alpine/docker-php-source
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ case "$1" in
if [ ! -f "$dir/.docker-extracted" ]; then
tar -Jxf /usr/src/php.tar.xz -C "$dir" --strip-components=1
touch "$dir/.docker-extracted"
if [ -e /etc/debian_version ]; then
apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
fi
fi
;;

delete)
rm -rf "$dir"
if [ -e /etc/debian_version ]; then
apt-get purge -y --auto-remove $PHPIZE_DEPS
fi
;;

*)
Expand Down
6 changes: 6 additions & 0 deletions 7.0/fpm/docker-php-source
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ case "$1" in
if [ ! -f "$dir/.docker-extracted" ]; then
tar -Jxf /usr/src/php.tar.xz -C "$dir" --strip-components=1
touch "$dir/.docker-extracted"
if [ -e /etc/debian_version ]; then
apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
fi
fi
;;

delete)
rm -rf "$dir"
if [ -e /etc/debian_version ]; then
apt-get purge -y --auto-remove $PHPIZE_DEPS
fi
;;

*)
Expand Down
3 changes: 1 addition & 2 deletions 7.0/zts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#

FROM debian:jessie
FROM debian:jessie-slim

# persistent / runtime deps
ENV PHPIZE_DEPS \
Expand All @@ -19,7 +19,6 @@ ENV PHPIZE_DEPS \
pkg-config \
re2c
RUN apt-get update && apt-get install -y \
$PHPIZE_DEPS \
ca-certificates \
curl \
libedit2 \
Expand Down
6 changes: 6 additions & 0 deletions 7.0/zts/alpine/docker-php-source
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ case "$1" in
if [ ! -f "$dir/.docker-extracted" ]; then
tar -Jxf /usr/src/php.tar.xz -C "$dir" --strip-components=1
touch "$dir/.docker-extracted"
if [ -e /etc/debian_version ]; then
apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
fi
fi
;;

delete)
rm -rf "$dir"
if [ -e /etc/debian_version ]; then
apt-get purge -y --auto-remove $PHPIZE_DEPS
fi
;;

*)
Expand Down
6 changes: 6 additions & 0 deletions 7.0/zts/docker-php-source
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ case "$1" in
if [ ! -f "$dir/.docker-extracted" ]; then
tar -Jxf /usr/src/php.tar.xz -C "$dir" --strip-components=1
touch "$dir/.docker-extracted"
if [ -e /etc/debian_version ]; then
apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
fi
fi
;;

delete)
rm -rf "$dir"
if [ -e /etc/debian_version ]; then
apt-get purge -y --auto-remove $PHPIZE_DEPS
fi
;;

*)
Expand Down
Loading