Skip to content

Commit 925c3ba

Browse files
authored
Merge pull request #213 from Xerkus/feature/bcmath-by-default
Make ext-bcmath available by default for all php versions
2 parents 68a106f + b3317ab commit 925c3ba

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Dockerfile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ RUN export OS_VERSION=$(cat /etc/os-release | grep VERSION_ID | cut -d '"' -f2)
7070
\
7171
php-pear \
7272
\
73+
php5.6-bcmath \
7374
php5.6-bz2 \
7475
php5.6-cli \
7576
php5.6-curl \
@@ -87,6 +88,7 @@ RUN export OS_VERSION=$(cat /etc/os-release | grep VERSION_ID | cut -d '"' -f2)
8788
php5.6-zip \
8889
\
8990
php7.0-cli \
91+
php7.0-bcmath \
9092
php7.0-bz2 \
9193
php7.0-curl \
9294
php7.0-dev \
@@ -103,6 +105,7 @@ RUN export OS_VERSION=$(cat /etc/os-release | grep VERSION_ID | cut -d '"' -f2)
103105
php7.0-zip \
104106
\
105107
php7.1-cli \
108+
php7.1-bcmath \
106109
php7.1-bz2 \
107110
php7.1-curl \
108111
php7.1-dev \
@@ -119,6 +122,7 @@ RUN export OS_VERSION=$(cat /etc/os-release | grep VERSION_ID | cut -d '"' -f2)
119122
php7.1-zip \
120123
\
121124
php7.2-cli \
125+
php7.2-bcmath \
122126
php7.2-bz2 \
123127
php7.2-curl \
124128
php7.2-dev \
@@ -135,6 +139,7 @@ RUN export OS_VERSION=$(cat /etc/os-release | grep VERSION_ID | cut -d '"' -f2)
135139
php7.2-zip \
136140
\
137141
php7.3-cli \
142+
php7.3-bcmath \
138143
php7.3-bz2 \
139144
php7.3-curl \
140145
php7.3-dev \
@@ -151,6 +156,7 @@ RUN export OS_VERSION=$(cat /etc/os-release | grep VERSION_ID | cut -d '"' -f2)
151156
php7.3-zip \
152157
\
153158
php7.4-cli \
159+
php7.4-bcmath \
154160
php7.4-bz2 \
155161
php7.4-curl \
156162
php7.4-dev \
@@ -167,6 +173,7 @@ RUN export OS_VERSION=$(cat /etc/os-release | grep VERSION_ID | cut -d '"' -f2)
167173
php7.4-zip \
168174
\
169175
php8.0-cli \
176+
php8.0-bcmath \
170177
php8.0-bz2 \
171178
php8.0-curl \
172179
php8.0-dev \
@@ -182,6 +189,7 @@ RUN export OS_VERSION=$(cat /etc/os-release | grep VERSION_ID | cut -d '"' -f2)
182189
php8.0-zip \
183190
\
184191
php8.1-cli \
192+
php8.1-bcmath \
185193
php8.1-bz2 \
186194
php8.1-curl \
187195
php8.1-dev \
@@ -197,6 +205,7 @@ RUN export OS_VERSION=$(cat /etc/os-release | grep VERSION_ID | cut -d '"' -f2)
197205
php8.1-zip \
198206
\
199207
php8.2-cli \
208+
php8.2-bcmath \
200209
php8.2-bz2 \
201210
php8.2-curl \
202211
php8.2-dev \
@@ -212,6 +221,7 @@ RUN export OS_VERSION=$(cat /etc/os-release | grep VERSION_ID | cut -d '"' -f2)
212221
php8.2-zip \
213222
\
214223
php8.3-cli \
224+
php8.3-bcmath \
215225
php8.3-bz2 \
216226
php8.3-curl \
217227
php8.3-dev \
@@ -272,8 +282,6 @@ RUN export DEFAULT_PHP_VERSION=$(jq -r '.config.platform.php | sub("(?<minor>[0-
272282
&& echo "DEFAULT_PHP_VERSION=${DEFAULT_PHP_VERSION}" >> /etc/environment
273283

274284
RUN cd /tools \
275-
# Install `ext-bcmath` as it seems to be a requirement for `roave/backward-compatibility-check`
276-
&& apt install -y php-bcmath \
277285
&& composer install \
278286
--classmap-authoritative \
279287
# Cleanup composer files from external tools folder

0 commit comments

Comments
 (0)