diff --git a/5.4/Dockerfile b/5.4/Dockerfile index a659e32..9f937f7 100644 --- a/5.4/Dockerfile +++ b/5.4/Dockerfile @@ -24,7 +24,7 @@ RUN buildDeps=" \ libxslt1-dev \ " \ && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y $buildDeps $runtimeDeps \ - && docker-php-ext-install bcmath bz2 calendar iconv intl mbstring mcrypt mysql mysqli pdo_mysql pdo_pgsql pgsql soap xsl zip \ + && docker-php-ext-install bcmath bz2 calendar iconv intl mbstring mcrypt mysql mysqli pdo_mysql pdo_pgsql pgsql soap xsl zip sockets \ && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ && docker-php-ext-install gd \ && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \ diff --git a/5.4/apache/Dockerfile b/5.4/apache/Dockerfile index e5c64e0..0fbe2b3 100644 --- a/5.4/apache/Dockerfile +++ b/5.4/apache/Dockerfile @@ -24,7 +24,7 @@ RUN buildDeps=" \ libxslt1-dev \ " \ && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y $buildDeps $runtimeDeps \ - && docker-php-ext-install bcmath bz2 calendar iconv intl mbstring mcrypt mysql mysqli pdo_mysql pdo_pgsql pgsql soap xsl zip \ + && docker-php-ext-install bcmath bz2 calendar iconv intl mbstring mcrypt mysql mysqli pdo_mysql pdo_pgsql pgsql soap xsl zip sockets \ && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ && docker-php-ext-install gd \ && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \ diff --git a/5.4/fpm/Dockerfile b/5.4/fpm/Dockerfile index 75b7dcd..a3895ae 100644 --- a/5.4/fpm/Dockerfile +++ b/5.4/fpm/Dockerfile @@ -24,7 +24,7 @@ RUN buildDeps=" \ libxslt1-dev \ " \ && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y $buildDeps $runtimeDeps \ - && docker-php-ext-install bcmath bz2 calendar iconv intl mbstring mcrypt mysql mysqli pdo_mysql pdo_pgsql pgsql soap xsl zip \ + && docker-php-ext-install bcmath bz2 calendar iconv intl mbstring mcrypt mysql mysqli pdo_mysql pdo_pgsql pgsql soap xsl zip sockets \ && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ && docker-php-ext-install gd \ && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \ diff --git a/5.5/Dockerfile b/5.5/Dockerfile index 71cacf2..232ad55 100644 --- a/5.5/Dockerfile +++ b/5.5/Dockerfile @@ -24,7 +24,7 @@ RUN buildDeps=" \ libxslt1-dev \ " \ && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y $buildDeps $runtimeDeps \ - && docker-php-ext-install bcmath bz2 calendar iconv intl mbstring mcrypt mysql mysqli opcache pdo_mysql pdo_pgsql pgsql soap xsl zip \ + && docker-php-ext-install bcmath bz2 calendar iconv intl mbstring mcrypt mysql mysqli opcache pdo_mysql pdo_pgsql pgsql soap xsl zip sockets \ && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ && docker-php-ext-install gd \ && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \ diff --git a/5.5/apache/Dockerfile b/5.5/apache/Dockerfile index 8a05ea6..f19ee4f 100644 --- a/5.5/apache/Dockerfile +++ b/5.5/apache/Dockerfile @@ -24,7 +24,7 @@ RUN buildDeps=" \ libxslt1-dev \ " \ && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y $buildDeps $runtimeDeps \ - && docker-php-ext-install bcmath bz2 calendar iconv intl mbstring mcrypt mysql mysqli opcache pdo_mysql pdo_pgsql pgsql soap xsl zip \ + && docker-php-ext-install bcmath bz2 calendar iconv intl mbstring mcrypt mysql mysqli opcache pdo_mysql pdo_pgsql pgsql soap xsl zip sockets \ && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ && docker-php-ext-install gd \ && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \ diff --git a/5.5/fpm/Dockerfile b/5.5/fpm/Dockerfile index 383e5cd..ac7202e 100644 --- a/5.5/fpm/Dockerfile +++ b/5.5/fpm/Dockerfile @@ -24,7 +24,7 @@ RUN buildDeps=" \ libxslt1-dev \ " \ && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y $buildDeps $runtimeDeps \ - && docker-php-ext-install bcmath bz2 calendar iconv intl mbstring mcrypt mysql mysqli opcache pdo_mysql pdo_pgsql pgsql soap xsl zip \ + && docker-php-ext-install bcmath bz2 calendar iconv intl mbstring mcrypt mysql mysqli opcache pdo_mysql pdo_pgsql pgsql soap xsl zip sockets \ && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ && docker-php-ext-install gd \ && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \ diff --git a/5.6/Dockerfile b/5.6/Dockerfile index 059be03..c99e069 100644 --- a/5.6/Dockerfile +++ b/5.6/Dockerfile @@ -30,7 +30,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ redis \ soap \ xsl \ - zip + zip \ + sockets # already installed: # iconv \ # mbstring \ diff --git a/5.6/apache/Dockerfile b/5.6/apache/Dockerfile index fc6ef6c..fd1f62d 100644 --- a/5.6/apache/Dockerfile +++ b/5.6/apache/Dockerfile @@ -31,6 +31,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ soap \ xsl \ zip \ + sockets \ # already installed: # iconv \ # mbstring \ diff --git a/5.6/fpm/Dockerfile b/5.6/fpm/Dockerfile index 57cfa7c..fbeabae 100644 --- a/5.6/fpm/Dockerfile +++ b/5.6/fpm/Dockerfile @@ -30,7 +30,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ redis \ soap \ xsl \ - zip + zip \ + sockets # already installed: # iconv \ # mbstring \ diff --git a/7.0/Dockerfile b/7.0/Dockerfile index 6fbbda4..856c1bb 100644 --- a/7.0/Dockerfile +++ b/7.0/Dockerfile @@ -29,7 +29,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ redis \ soap \ xsl \ - zip + zip \ + sockets # already installed: # iconv \ # mbstring \ diff --git a/7.0/apache/Dockerfile b/7.0/apache/Dockerfile index 909ba21..39728f9 100644 --- a/7.0/apache/Dockerfile +++ b/7.0/apache/Dockerfile @@ -30,6 +30,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ soap \ xsl \ zip \ + sockets \ # already installed: # iconv \ # mbstring \ diff --git a/7.0/fpm/Dockerfile b/7.0/fpm/Dockerfile index 8321c96..658a6ff 100644 --- a/7.0/fpm/Dockerfile +++ b/7.0/fpm/Dockerfile @@ -29,7 +29,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ redis \ soap \ xsl \ - zip + zip \ + sockets # already installed: # iconv \ # mbstring \ diff --git a/7.1/Dockerfile b/7.1/Dockerfile index 4e698a3..9f1460e 100644 --- a/7.1/Dockerfile +++ b/7.1/Dockerfile @@ -29,7 +29,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ redis \ soap \ xsl \ - zip + zip \ + sockets # already installed: # iconv \ # mbstring \ diff --git a/7.1/apache/Dockerfile b/7.1/apache/Dockerfile index 863aa08..9615de9 100644 --- a/7.1/apache/Dockerfile +++ b/7.1/apache/Dockerfile @@ -30,6 +30,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ soap \ xsl \ zip \ + sockets \ # already installed: # iconv \ # mbstring \ diff --git a/7.1/fpm/Dockerfile b/7.1/fpm/Dockerfile index 208eb1b..4f1e630 100644 --- a/7.1/fpm/Dockerfile +++ b/7.1/fpm/Dockerfile @@ -29,7 +29,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ redis \ soap \ xsl \ - zip + zip \ + sockets # already installed: # iconv \ # mbstring \ diff --git a/7.2/Dockerfile b/7.2/Dockerfile index 6753a5d..d5f92d8 100644 --- a/7.2/Dockerfile +++ b/7.2/Dockerfile @@ -28,7 +28,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ redis \ soap \ xsl \ - zip + zip \ + sockets # already installed: # iconv \ # mbstring \ diff --git a/7.2/apache/Dockerfile b/7.2/apache/Dockerfile index f9dda2f..32d5cc9 100644 --- a/7.2/apache/Dockerfile +++ b/7.2/apache/Dockerfile @@ -29,6 +29,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ soap \ xsl \ zip \ + sockets \ # already installed: # iconv \ # mbstring \ diff --git a/7.2/fpm/Dockerfile b/7.2/fpm/Dockerfile index fca2086..1053d28 100644 --- a/7.2/fpm/Dockerfile +++ b/7.2/fpm/Dockerfile @@ -28,7 +28,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ redis \ soap \ xsl \ - zip + zip \ + sockets # already installed: # iconv \ # mbstring \ diff --git a/7.3/Dockerfile b/7.3/Dockerfile index 7c16466..aaca578 100644 --- a/7.3/Dockerfile +++ b/7.3/Dockerfile @@ -28,7 +28,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ redis \ soap \ xsl \ - zip + zip \ + sockets # already installed: # iconv \ # mbstring \ diff --git a/7.3/apache/Dockerfile b/7.3/apache/Dockerfile index 8f757e8..6f7c6a8 100644 --- a/7.3/apache/Dockerfile +++ b/7.3/apache/Dockerfile @@ -29,6 +29,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ soap \ xsl \ zip \ + sockets \ # already installed: # iconv \ # mbstring \ diff --git a/7.3/fpm/Dockerfile b/7.3/fpm/Dockerfile index 88a2baa..619be4d 100644 --- a/7.3/fpm/Dockerfile +++ b/7.3/fpm/Dockerfile @@ -28,7 +28,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ redis \ soap \ xsl \ - zip + zip \ + sockets # already installed: # iconv \ # mbstring \ diff --git a/7.4/Dockerfile b/7.4/Dockerfile index b6c6f8f..ae72380 100644 --- a/7.4/Dockerfile +++ b/7.4/Dockerfile @@ -28,7 +28,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ redis \ soap \ xsl \ - zip + zip \ + sockets # already installed: # iconv \ # mbstring \ diff --git a/7.4/apache/Dockerfile b/7.4/apache/Dockerfile index b72affb..2b5a11b 100644 --- a/7.4/apache/Dockerfile +++ b/7.4/apache/Dockerfile @@ -29,6 +29,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ soap \ xsl \ zip \ + sockets \ # already installed: # iconv \ # mbstring \ diff --git a/7.4/fpm/Dockerfile b/7.4/fpm/Dockerfile index 9cf13ea..c93ca9e 100644 --- a/7.4/fpm/Dockerfile +++ b/7.4/fpm/Dockerfile @@ -28,7 +28,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ redis \ soap \ xsl \ - zip + zip \ + sockets # already installed: # iconv \ # mbstring \ diff --git a/Dockerfile b/Dockerfile index 0cf5c5a..f77bca4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \ redis \ soap \ xsl \ - zip + zip \ + sockets # already installed: # iconv \ # mbstring \ diff --git a/Makefile b/Makefile index 9617373..e059051 100644 --- a/Makefile +++ b/Makefile @@ -25,9 +25,10 @@ EXTENSIONS := \ pdo_pgsql \ pgsql \ redis \ - soap \ - xsl \ - zip + soap \ + xsl \ + zip \ + sockets ifeq (,$(findstring $(PHP_VERSION), 7.2 7.3 7.4 latest)) # Add more extensions to PHP < 7.2. EXTENSIONS += mcrypt diff --git a/README.md b/README.md index 8dfc5de..a7950f1 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,7 @@ in addition to those you can already find in the [official PHP image](https://hu - `xsl` - `Zend OPcache` - `zip` +- `sockets` You will probably not need all this stuff. Even if having some extra extensions loaded ain't a big issue in most cases, you will very likely want to checkout this repository, remove unwanted extensions from the `Dockerfile`, and build your own image — for sometimes removing is easier than adding. 😉 diff --git a/dev/Makefile b/dev/Makefile index a4fb347..2ebef98 100644 --- a/dev/Makefile +++ b/dev/Makefile @@ -27,7 +27,8 @@ EXTENSIONS := \ redis \ soap \ Xdebug \ - zip + zip \ + sockets ifeq (,$(findstring $(PHP_VERSION), 7.2 7.3 7.4 latest)) # Add more extensions to PHP < 7.2. EXTENSIONS += mcrypt