Skip to content

Commit 557066d

Browse files
update dockerfile
1 parent de0c2f8 commit 557066d

3 files changed

Lines changed: 4 additions & 7 deletions

File tree

php/7.0.33/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
FROM php:7.0.33-fpm AS php-source
88

9-
FROM debian:bookworm-slim
9+
FROM debian:bullseye-slim
1010
ARG INSTALL_EXT_VERSION
1111

1212
# prevent Debian's PHP packages from being installed

php/7.1.33/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
FROM php:7.1.33-fpm AS php-source
77

8-
FROM debian:bookworm-slim
8+
FROM debian:bullseye-slim
99
ARG INSTALL_EXT_VERSION
1010

1111
# prevent Debian's PHP packages from being installed

php/7.2.34/Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
FROM php:7.2.34-fpm AS php-source
77

8-
FROM debian:bookworm-slim
8+
FROM debian:bullseye-slim
99
ARG INSTALL_EXT_VERSION
1010

1111
# prevent Debian's PHP packages from being installed
@@ -24,8 +24,7 @@ ENV PHPIZE_DEPS \
2424
dpkg-dev \
2525
file \
2626
g++ \
27-
gcc-8 \
28-
g++-8 \
27+
gcc \
2928
libc-dev \
3029
make \
3130
pkg-config \
@@ -40,8 +39,6 @@ RUN set -eux; \
4039
curl \
4140
xz-utils \
4241
; \
43-
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 80 && \
44-
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 80 && \
4542
rm -rf /var/lib/apt/lists/*
4643

4744
ENV PHP_INI_DIR /usr/local/etc/php

0 commit comments

Comments
 (0)