Skip to content
This repository was archived by the owner on Jul 25, 2023. It is now read-only.

Commit 1c1dcae

Browse files
author
Nick
authored
Ensure sockets extension is installed (#169)
This is now a platform requirement from 2.3.4
1 parent f112b84 commit 1c1dcae

File tree

12 files changed

+20
-8
lines changed

12 files changed

+20
-8
lines changed

7.0-cli/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ RUN docker-php-ext-install \
4040
soap \
4141
bcmath \
4242
pcntl \
43+
sockets \
4344
mcrypt
4445

4546
# Install Xdebug (but don't enable)

7.0-fpm/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ RUN docker-php-ext-install \
3636
soap \
3737
bcmath \
3838
pcntl \
39+
sockets \
3940
mcrypt
4041

4142
# Install Xdebug (but don't enable)

7.1-cli/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ RUN docker-php-ext-install \
4040
soap \
4141
bcmath \
4242
pcntl \
43+
sockets \
4344
mcrypt
4445

4546
# Install Xdebug (but don't enable)

7.1-fpm/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ RUN docker-php-ext-install \
3636
soap \
3737
bcmath \
3838
pcntl \
39+
sockets \
3940
mcrypt
4041

4142
# Install Xdebug (but don't enable)

7.2-cli/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ RUN docker-php-ext-install \
3939
zip \
4040
soap \
4141
bcmath \
42-
pcntl
42+
pcntl \
43+
sockets
4344

4445
# Install Xdebug (but don't enable)
4546
RUN pecl install -o -f xdebug

7.2-fpm/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ RUN docker-php-ext-install \
3535
zip \
3636
soap \
3737
bcmath \
38-
pcntl
38+
pcntl \
39+
sockets
3940

4041
# Install Xdebug (but don't enable)
4142
RUN pecl install -o -f xdebug

7.3-cli/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ RUN docker-php-ext-install \
4040
zip \
4141
soap \
4242
bcmath \
43-
pcntl
43+
pcntl \
44+
sockets
4445

4546
# Install Xdebug (but don't enable)
4647
RUN pecl install -o -f xdebug

7.3-fpm/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ RUN docker-php-ext-install \
3636
zip \
3737
soap \
3838
bcmath \
39-
pcntl
39+
pcntl \
40+
sockets
4041

4142
# Install Xdebug (but don't enable)
4243
RUN pecl install -o -f xdebug

7.4-cli/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ RUN docker-php-ext-install \
4141
zip \
4242
soap \
4343
bcmath \
44-
pcntl
44+
pcntl \
45+
sockets
4546

4647
# Install Xdebug (but don't enable)
4748
RUN pecl install -o -f xdebug

7.4-fpm/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ RUN docker-php-ext-install \
3737
zip \
3838
soap \
3939
bcmath \
40-
pcntl
40+
pcntl \
41+
sockets
4142

4243
# Install Xdebug (but don't enable)
4344
RUN pecl install -o -f xdebug

src/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ RUN docker-php-ext-configure \
5555
'zip',
5656
'soap',
5757
'bcmath',
58-
'pcntl'
58+
'pcntl',
59+
'sockets'
5960
], $imageSpecificPhpExtensions ?? []);
6061
?>
6162

test/test.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ public function isOk() {
3939
'simplexml',
4040
'xsl',
4141
'zip',
42-
'intl'
42+
'intl',
43+
'sockets'
4344
);
4445

4546
if (version_compare(phpversion(), '7.2.0', '<')) {

0 commit comments

Comments
 (0)