We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ad89b1 commit de0c2f8Copy full SHA for de0c2f8
1 file changed
php/7.2.34/Dockerfile
@@ -24,7 +24,8 @@ ENV PHPIZE_DEPS \
24
dpkg-dev \
25
file \
26
g++ \
27
- gcc \
+ gcc-8 \
28
+ g++-8 \
29
libc-dev \
30
make \
31
pkg-config \
@@ -39,6 +40,8 @@ RUN set -eux; \
39
40
curl \
41
xz-utils \
42
; \
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 && \
45
rm -rf /var/lib/apt/lists/*
46
47
ENV PHP_INI_DIR /usr/local/etc/php
0 commit comments