File tree Expand file tree Collapse file tree 35 files changed +145
-26
lines changed Expand file tree Collapse file tree 35 files changed +145
-26
lines changed Original file line number Diff line number Diff line change 4
4
# PLEASE DO NOT EDIT IT DIRECTLY.
5
5
#
6
6
7
- FROM debian:jessie
7
+ FROM debian:jessie-slim
8
8
9
9
# persistent / runtime deps
10
10
ENV PHPIZE_DEPS \
@@ -19,7 +19,6 @@ ENV PHPIZE_DEPS \
19
19
pkg-config \
20
20
re2c
21
21
RUN apt-get update && apt-get install -y \
22
- $PHPIZE_DEPS \
23
22
ca-certificates \
24
23
curl \
25
24
libedit2 \
Original file line number Diff line number Diff line change @@ -20,11 +20,17 @@ case "$1" in
20
20
if [ ! -f " $dir /.docker-extracted" ]; then
21
21
tar -Jxf /usr/src/php.tar.xz -C " $dir " --strip-components=1
22
22
touch " $dir /.docker-extracted"
23
+ if [ -e /etc/debian_version ]; then
24
+ apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
25
+ fi
23
26
fi
24
27
;;
25
28
26
29
delete)
27
30
rm -rf " $dir "
31
+ if [ -e /etc/debian_version ]; then
32
+ apt-get purge -y --auto-remove $PHPIZE_DEPS
33
+ fi
28
34
;;
29
35
30
36
* )
Original file line number Diff line number Diff line change 4
4
# PLEASE DO NOT EDIT IT DIRECTLY.
5
5
#
6
6
7
- FROM debian:jessie
7
+ FROM debian:jessie-slim
8
8
9
9
# persistent / runtime deps
10
10
ENV PHPIZE_DEPS \
@@ -19,7 +19,6 @@ ENV PHPIZE_DEPS \
19
19
pkg-config \
20
20
re2c
21
21
RUN apt-get update && apt-get install -y \
22
- $PHPIZE_DEPS \
23
22
ca-certificates \
24
23
curl \
25
24
libedit2 \
Original file line number Diff line number Diff line change @@ -20,11 +20,17 @@ case "$1" in
20
20
if [ ! -f " $dir /.docker-extracted" ]; then
21
21
tar -Jxf /usr/src/php.tar.xz -C " $dir " --strip-components=1
22
22
touch " $dir /.docker-extracted"
23
+ if [ -e /etc/debian_version ]; then
24
+ apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
25
+ fi
23
26
fi
24
27
;;
25
28
26
29
delete)
27
30
rm -rf " $dir "
31
+ if [ -e /etc/debian_version ]; then
32
+ apt-get purge -y --auto-remove $PHPIZE_DEPS
33
+ fi
28
34
;;
29
35
30
36
* )
Original file line number Diff line number Diff line change @@ -20,11 +20,17 @@ case "$1" in
20
20
if [ ! -f " $dir /.docker-extracted" ]; then
21
21
tar -Jxf /usr/src/php.tar.xz -C " $dir " --strip-components=1
22
22
touch " $dir /.docker-extracted"
23
+ if [ -e /etc/debian_version ]; then
24
+ apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
25
+ fi
23
26
fi
24
27
;;
25
28
26
29
delete)
27
30
rm -rf " $dir "
31
+ if [ -e /etc/debian_version ]; then
32
+ apt-get purge -y --auto-remove $PHPIZE_DEPS
33
+ fi
28
34
;;
29
35
30
36
* )
Original file line number Diff line number Diff line change 4
4
# PLEASE DO NOT EDIT IT DIRECTLY.
5
5
#
6
6
7
- FROM debian:jessie
7
+ FROM debian:jessie-slim
8
8
9
9
# persistent / runtime deps
10
10
ENV PHPIZE_DEPS \
@@ -19,7 +19,6 @@ ENV PHPIZE_DEPS \
19
19
pkg-config \
20
20
re2c
21
21
RUN apt-get update && apt-get install -y \
22
- $PHPIZE_DEPS \
23
22
ca-certificates \
24
23
curl \
25
24
libedit2 \
Original file line number Diff line number Diff line change @@ -20,11 +20,17 @@ case "$1" in
20
20
if [ ! -f " $dir /.docker-extracted" ]; then
21
21
tar -Jxf /usr/src/php.tar.xz -C " $dir " --strip-components=1
22
22
touch " $dir /.docker-extracted"
23
+ if [ -e /etc/debian_version ]; then
24
+ apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
25
+ fi
23
26
fi
24
27
;;
25
28
26
29
delete)
27
30
rm -rf " $dir "
31
+ if [ -e /etc/debian_version ]; then
32
+ apt-get purge -y --auto-remove $PHPIZE_DEPS
33
+ fi
28
34
;;
29
35
30
36
* )
Original file line number Diff line number Diff line change @@ -20,11 +20,17 @@ case "$1" in
20
20
if [ ! -f " $dir /.docker-extracted" ]; then
21
21
tar -Jxf /usr/src/php.tar.xz -C " $dir " --strip-components=1
22
22
touch " $dir /.docker-extracted"
23
+ if [ -e /etc/debian_version ]; then
24
+ apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
25
+ fi
23
26
fi
24
27
;;
25
28
26
29
delete)
27
30
rm -rf " $dir "
31
+ if [ -e /etc/debian_version ]; then
32
+ apt-get purge -y --auto-remove $PHPIZE_DEPS
33
+ fi
28
34
;;
29
35
30
36
* )
Original file line number Diff line number Diff line change 4
4
# PLEASE DO NOT EDIT IT DIRECTLY.
5
5
#
6
6
7
- FROM debian:jessie
7
+ FROM debian:jessie-slim
8
8
9
9
# persistent / runtime deps
10
10
ENV PHPIZE_DEPS \
@@ -19,7 +19,6 @@ ENV PHPIZE_DEPS \
19
19
pkg-config \
20
20
re2c
21
21
RUN apt-get update && apt-get install -y \
22
- $PHPIZE_DEPS \
23
22
ca-certificates \
24
23
curl \
25
24
libedit2 \
Original file line number Diff line number Diff line change @@ -20,11 +20,17 @@ case "$1" in
20
20
if [ ! -f " $dir /.docker-extracted" ]; then
21
21
tar -Jxf /usr/src/php.tar.xz -C " $dir " --strip-components=1
22
22
touch " $dir /.docker-extracted"
23
+ if [ -e /etc/debian_version ]; then
24
+ apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
25
+ fi
23
26
fi
24
27
;;
25
28
26
29
delete)
27
30
rm -rf " $dir "
31
+ if [ -e /etc/debian_version ]; then
32
+ apt-get purge -y --auto-remove $PHPIZE_DEPS
33
+ fi
28
34
;;
29
35
30
36
* )
Original file line number Diff line number Diff line change @@ -20,11 +20,17 @@ case "$1" in
20
20
if [ ! -f " $dir /.docker-extracted" ]; then
21
21
tar -Jxf /usr/src/php.tar.xz -C " $dir " --strip-components=1
22
22
touch " $dir /.docker-extracted"
23
+ if [ -e /etc/debian_version ]; then
24
+ apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
25
+ fi
23
26
fi
24
27
;;
25
28
26
29
delete)
27
30
rm -rf " $dir "
31
+ if [ -e /etc/debian_version ]; then
32
+ apt-get purge -y --auto-remove $PHPIZE_DEPS
33
+ fi
28
34
;;
29
35
30
36
* )
Original file line number Diff line number Diff line change 4
4
# PLEASE DO NOT EDIT IT DIRECTLY.
5
5
#
6
6
7
- FROM debian:jessie
7
+ FROM debian:jessie-slim
8
8
9
9
# persistent / runtime deps
10
10
ENV PHPIZE_DEPS \
@@ -19,7 +19,6 @@ ENV PHPIZE_DEPS \
19
19
pkg-config \
20
20
re2c
21
21
RUN apt-get update && apt-get install -y \
22
- $PHPIZE_DEPS \
23
22
ca-certificates \
24
23
curl \
25
24
libedit2 \
Original file line number Diff line number Diff line change @@ -20,11 +20,17 @@ case "$1" in
20
20
if [ ! -f " $dir /.docker-extracted" ]; then
21
21
tar -Jxf /usr/src/php.tar.xz -C " $dir " --strip-components=1
22
22
touch " $dir /.docker-extracted"
23
+ if [ -e /etc/debian_version ]; then
24
+ apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
25
+ fi
23
26
fi
24
27
;;
25
28
26
29
delete)
27
30
rm -rf " $dir "
31
+ if [ -e /etc/debian_version ]; then
32
+ apt-get purge -y --auto-remove $PHPIZE_DEPS
33
+ fi
28
34
;;
29
35
30
36
* )
Original file line number Diff line number Diff line change 4
4
# PLEASE DO NOT EDIT IT DIRECTLY.
5
5
#
6
6
7
- FROM debian:jessie
7
+ FROM debian:jessie-slim
8
8
9
9
# persistent / runtime deps
10
10
ENV PHPIZE_DEPS \
@@ -19,7 +19,6 @@ ENV PHPIZE_DEPS \
19
19
pkg-config \
20
20
re2c
21
21
RUN apt-get update && apt-get install -y \
22
- $PHPIZE_DEPS \
23
22
ca-certificates \
24
23
curl \
25
24
libedit2 \
Original file line number Diff line number Diff line change @@ -20,11 +20,17 @@ case "$1" in
20
20
if [ ! -f " $dir /.docker-extracted" ]; then
21
21
tar -Jxf /usr/src/php.tar.xz -C " $dir " --strip-components=1
22
22
touch " $dir /.docker-extracted"
23
+ if [ -e /etc/debian_version ]; then
24
+ apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
25
+ fi
23
26
fi
24
27
;;
25
28
26
29
delete)
27
30
rm -rf " $dir "
31
+ if [ -e /etc/debian_version ]; then
32
+ apt-get purge -y --auto-remove $PHPIZE_DEPS
33
+ fi
28
34
;;
29
35
30
36
* )
Original file line number Diff line number Diff line change @@ -20,11 +20,17 @@ case "$1" in
20
20
if [ ! -f " $dir /.docker-extracted" ]; then
21
21
tar -Jxf /usr/src/php.tar.xz -C " $dir " --strip-components=1
22
22
touch " $dir /.docker-extracted"
23
+ if [ -e /etc/debian_version ]; then
24
+ apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
25
+ fi
23
26
fi
24
27
;;
25
28
26
29
delete)
27
30
rm -rf " $dir "
31
+ if [ -e /etc/debian_version ]; then
32
+ apt-get purge -y --auto-remove $PHPIZE_DEPS
33
+ fi
28
34
;;
29
35
30
36
* )
Original file line number Diff line number Diff line change 4
4
# PLEASE DO NOT EDIT IT DIRECTLY.
5
5
#
6
6
7
- FROM debian:jessie
7
+ FROM debian:jessie-slim
8
8
9
9
# persistent / runtime deps
10
10
ENV PHPIZE_DEPS \
@@ -19,7 +19,6 @@ ENV PHPIZE_DEPS \
19
19
pkg-config \
20
20
re2c
21
21
RUN apt-get update && apt-get install -y \
22
- $PHPIZE_DEPS \
23
22
ca-certificates \
24
23
curl \
25
24
libedit2 \
Original file line number Diff line number Diff line change @@ -20,11 +20,17 @@ case "$1" in
20
20
if [ ! -f " $dir /.docker-extracted" ]; then
21
21
tar -Jxf /usr/src/php.tar.xz -C " $dir " --strip-components=1
22
22
touch " $dir /.docker-extracted"
23
+ if [ -e /etc/debian_version ]; then
24
+ apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
25
+ fi
23
26
fi
24
27
;;
25
28
26
29
delete)
27
30
rm -rf " $dir "
31
+ if [ -e /etc/debian_version ]; then
32
+ apt-get purge -y --auto-remove $PHPIZE_DEPS
33
+ fi
28
34
;;
29
35
30
36
* )
Original file line number Diff line number Diff line change @@ -20,11 +20,17 @@ case "$1" in
20
20
if [ ! -f " $dir /.docker-extracted" ]; then
21
21
tar -Jxf /usr/src/php.tar.xz -C " $dir " --strip-components=1
22
22
touch " $dir /.docker-extracted"
23
+ if [ -e /etc/debian_version ]; then
24
+ apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
25
+ fi
23
26
fi
24
27
;;
25
28
26
29
delete)
27
30
rm -rf " $dir "
31
+ if [ -e /etc/debian_version ]; then
32
+ apt-get purge -y --auto-remove $PHPIZE_DEPS
33
+ fi
28
34
;;
29
35
30
36
* )
Original file line number Diff line number Diff line change 4
4
# PLEASE DO NOT EDIT IT DIRECTLY.
5
5
#
6
6
7
- FROM debian:jessie
7
+ FROM debian:jessie-slim
8
8
9
9
# persistent / runtime deps
10
10
ENV PHPIZE_DEPS \
@@ -19,7 +19,6 @@ ENV PHPIZE_DEPS \
19
19
pkg-config \
20
20
re2c
21
21
RUN apt-get update && apt-get install -y \
22
- $PHPIZE_DEPS \
23
22
ca-certificates \
24
23
curl \
25
24
libedit2 \
Original file line number Diff line number Diff line change @@ -20,11 +20,17 @@ case "$1" in
20
20
if [ ! -f " $dir /.docker-extracted" ]; then
21
21
tar -Jxf /usr/src/php.tar.xz -C " $dir " --strip-components=1
22
22
touch " $dir /.docker-extracted"
23
+ if [ -e /etc/debian_version ]; then
24
+ apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
25
+ fi
23
26
fi
24
27
;;
25
28
26
29
delete)
27
30
rm -rf " $dir "
31
+ if [ -e /etc/debian_version ]; then
32
+ apt-get purge -y --auto-remove $PHPIZE_DEPS
33
+ fi
28
34
;;
29
35
30
36
* )
Original file line number Diff line number Diff line change @@ -20,11 +20,17 @@ case "$1" in
20
20
if [ ! -f " $dir /.docker-extracted" ]; then
21
21
tar -Jxf /usr/src/php.tar.xz -C " $dir " --strip-components=1
22
22
touch " $dir /.docker-extracted"
23
+ if [ -e /etc/debian_version ]; then
24
+ apt-get update && apt-get install -y $PHPIZE_DEPS --no-install-recommends && rm -r /var/lib/apt/lists/*
25
+ fi
23
26
fi
24
27
;;
25
28
26
29
delete)
27
30
rm -rf " $dir "
31
+ if [ -e /etc/debian_version ]; then
32
+ apt-get purge -y --auto-remove $PHPIZE_DEPS
33
+ fi
28
34
;;
29
35
30
36
* )
You can’t perform that action at this time.
0 commit comments