-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tool to docker-phpize
#42
Comments
Any ideas for a more fitting name? |
|
or maybe even just |
My idea is that we'll be able to do something like: RUN docker-php-install-ext gd mysqli |
I had the same concern. That name sounds fine to me. At some point, that simple invocation won't work for someone who needs to pass flags to |
Also, the tool should probably do a |
Maybe |
Hmm, so that's a good question. Is |
That all sounds fine to me. |
I have terrible ideas. We could just add In theory, this will work pretty decently since So, we could thus have something like: RUN docker-php-ext-configure mbstring --some-esoteric-args --go-here
RUN docker-php-ext-install mbstring pdo pdo_mysql |
But then you cannot clean up and do |
Why not? That would happen in Here's what I envision adding to WordPress, for example: RUN apt-get update && apt-get install -y libpng12-dev && rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-install gd mysqli \
&& apt-get purge --auto-remove -y libpng12-dev |
Ok, sounds good to me. |
Lol, |
(so very easy to script, also -- just add |
I just did a by-hand POC with |
Do we have to worry about which are |
Nope. The possible values are "directories in root@1200c131e383:/# find /usr/src/php/ext -mindepth 1 -maxdepth 1 -type d | cut -d/ -f6 | sort
bcmath
bz2
calendar
com_dotnet
ctype
curl
date
dba
dom
enchant
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
imap
interbase
intl
json
ldap
libxml
mbstring
mcrypt
mssql
mysql
mysqli
mysqlnd
oci8
odbc
opcache
openssl
pcntl
pcre
pdo
pdo_dblib
pdo_firebird
pdo_mysql
pdo_oci
pdo_odbc
pdo_pgsql
pdo_sqlite
pgsql
phar
posix
pspell
readline
recode
reflection
session
shmop
simplexml
skeleton
snmp
soap
sockets
spl
sqlite3
standard
sybase_ct
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib |
Here's a more accurate list: root@a2957855a72a:/# find /usr/src/php/ext -mindepth 2 -maxdepth 2 -type f -name 'config.m4' | cut -d/ -f6 | sort
bcmath
bz2
calendar
ctype
curl
dba
dom
enchant
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
imap
interbase
intl
json
ldap
mbstring
mcrypt
mssql
mysql
mysqli
oci8
odbc
opcache
pcntl
pdo
pdo_dblib
pdo_firebird
pdo_mysql
pdo_oci
pdo_odbc
pdo_pgsql
pdo_sqlite
pgsql
phar
posix
pspell
readline
recode
reflection
session
shmop
simplexml
snmp
soap
sockets
spl
standard
sybase_ct
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip |
This was discussed in #39
The text was updated successfully, but these errors were encountered: