mirror of
https://github.com/chialab/docker-php.git
synced 2026-08-24 02:24:16 -05:00
add pdo_sqlsrv and sqlsrv
This commit is contained in:
+4
-2
@@ -31,7 +31,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
soap \
|
||||
xsl \
|
||||
zip \
|
||||
sockets
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -44,4 +46,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
@@ -32,6 +32,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
xsl \
|
||||
zip \
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv \
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -45,4 +47,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
+4
-2
@@ -31,7 +31,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
soap \
|
||||
xsl \
|
||||
zip \
|
||||
sockets
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -44,4 +46,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
+4
-2
@@ -30,7 +30,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
soap \
|
||||
xsl \
|
||||
zip \
|
||||
sockets
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -43,4 +45,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
@@ -31,6 +31,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
xsl \
|
||||
zip \
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv \
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -44,4 +46,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
+4
-2
@@ -30,7 +30,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
soap \
|
||||
xsl \
|
||||
zip \
|
||||
sockets
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -43,4 +45,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
+4
-2
@@ -30,7 +30,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
soap \
|
||||
xsl \
|
||||
zip \
|
||||
sockets
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -43,4 +45,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
@@ -31,6 +31,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
xsl \
|
||||
zip \
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv \
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -44,4 +46,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
+4
-2
@@ -30,7 +30,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
soap \
|
||||
xsl \
|
||||
zip \
|
||||
sockets
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -43,4 +45,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
+4
-2
@@ -29,7 +29,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
soap \
|
||||
xsl \
|
||||
zip \
|
||||
sockets
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -42,4 +44,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
@@ -30,6 +30,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
xsl \
|
||||
zip \
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv \
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -43,4 +45,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
+4
-2
@@ -29,7 +29,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
soap \
|
||||
xsl \
|
||||
zip \
|
||||
sockets
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -42,4 +44,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
+4
-2
@@ -29,7 +29,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
soap \
|
||||
xsl \
|
||||
zip \
|
||||
sockets
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -42,4 +44,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
@@ -30,6 +30,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
xsl \
|
||||
zip \
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv \
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -43,4 +45,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
+4
-2
@@ -29,7 +29,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
soap \
|
||||
xsl \
|
||||
zip \
|
||||
sockets
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -42,4 +44,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
+4
-2
@@ -29,7 +29,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
soap \
|
||||
xsl \
|
||||
zip \
|
||||
sockets
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -42,4 +44,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
@@ -30,6 +30,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
xsl \
|
||||
zip \
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv \
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -43,4 +45,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
+4
-2
@@ -29,7 +29,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
soap \
|
||||
xsl \
|
||||
zip \
|
||||
sockets
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -42,4 +44,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
+4
-2
@@ -29,7 +29,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
soap \
|
||||
xsl \
|
||||
zip \
|
||||
sockets
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv
|
||||
# already installed:
|
||||
# iconv \
|
||||
# mbstring \
|
||||
@@ -42,4 +44,4 @@ ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
# Install prestissimo (composer plugin). Plugin that downloads packages in parallel to speed up the installation process
|
||||
# After release of Composer 2.x, remove prestissimo, because parallelism already merged into Composer 2.x branch:
|
||||
# https://github.com/composer/composer/pull/7904
|
||||
RUN composer global require hirak/prestissimo
|
||||
RUN composer global require hirak/prestissimo
|
||||
|
||||
@@ -28,7 +28,9 @@ EXTENSIONS := \
|
||||
soap \
|
||||
xsl \
|
||||
zip \
|
||||
sockets
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv
|
||||
ifeq (,$(findstring $(PHP_VERSION), 7.2 7.3 7.4 latest))
|
||||
# Add more extensions to PHP < 7.2.
|
||||
EXTENSIONS += mcrypt
|
||||
|
||||
@@ -72,6 +72,7 @@ in addition to those you can already find in the [official PHP image](https://hu
|
||||
- `mysqli`
|
||||
- `pdo_mysql`
|
||||
- `pdo_pgsql`
|
||||
- `pdo_sqlsrv`
|
||||
- `pgsql`
|
||||
- `redis`
|
||||
- `soap`
|
||||
@@ -79,6 +80,7 @@ in addition to those you can already find in the [official PHP image](https://hu
|
||||
- `Zend OPcache`
|
||||
- `zip`
|
||||
- `sockets`
|
||||
- `sqlsrv`
|
||||
|
||||
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. 😉
|
||||
|
||||
|
||||
+3
-1
@@ -29,7 +29,9 @@ EXTENSIONS := \
|
||||
Xdebug \
|
||||
xsl \
|
||||
zip \
|
||||
sockets
|
||||
sockets \
|
||||
pdo_sqlsrv \
|
||||
sqlsrv
|
||||
ifeq (,$(findstring $(PHP_VERSION), 7.2 7.3 7.4 latest))
|
||||
# Add more extensions to PHP < 7.2.
|
||||
EXTENSIONS += mcrypt
|
||||
|
||||
Reference in New Issue
Block a user