tetraweb / docker Goto Github PK
View Code? Open in Web Editor NEWSet of docker PHP images for continuous integration
Set of docker PHP images for continuous integration
I just started with using GitLab CI with these excellent images, but since I want to be prepared for the future, I would like to test with PHP7.1 (RC6 is currently the latest).
Would it be possible to create a 7.1RC6 version, or do you want to wait until it's final?
Many thanks in advance!
Can't compile odbc extension
Is it just me, or some of the extension are missing ?
Thank u
Compile all php extensions by default but do not enable them. They have to be enabled manually with docker-php-ext-enable
Though leave xdebug special directives in an .ini file
Do not forget to update docs
Add timezone setting like recommended by PHP
Docker team introduced their own docker-php-ext-enable script, I have to stick with it and get rid of mine. Images are failing to build now
Enabling with docker-php-ext-enable for Zend extensions is broken.
It was already fixed with docker-library/php#123
Waiting for official images to update.
Using Docker executor with image tetraweb/php:7.0-cli ...
Pulling docker image tetraweb/php:7.0-cli ...$ docker-php-ext-enable xdebug
error: /usr/local/lib/php/extensions/no-debug-non-zts-20151012/xdebug does not existusage: /usr/local/bin/docker-php-ext-enable module-name [module-name ...]
ie: /usr/local/bin/docker-php-ext-enable gd mysqli
/usr/local/bin/docker-php-ext-enable pdo pdo_mysqlPossible values for module-name:
bcmath.so bz2.so calendar.so dba.so enchant.so exif.so ftp.so gd.so gettext.so gmp.so imap.so intl.so ldap.so mbstring.so mcrypt.so mongodb.so mysqli.so opcache.so pcntl.so pdo.so pdo_dblib.so pdo_mysql.so pdo_pgsql.so pgsql.so pspell.so shmop.so snmp.so soap.so sockets.so sysvmsg.so sysvsem.so sysvshm.so tidy.so wddx.so xmlrpc.so xsl.so zip.so
I've done a docker pull tetraweb/php:7.0-cli
, and it's still happening with that.
Parse error: syntax error, unexpected '[' in phar:///usr/local/bin/phpunit.phar/dbunit/Extensions/Database/DataSet/AbstractDataSet.php on line 34
Part of commands is executed only after you run script second time
Suggestion to include hhvm, solely for "composer speedup"
References:
Create test project based on YII2, Laravel? with configuration examples:
Problem with compiling interbase extension
Enable or disable Opcache by default
Is there any optimizations needed for Memcache?
It is needed for composer packages installation as zip-archives
Reorganize repository/README file since Docker hub is fetching root README
Hi there,
I'm using the 5.6-image.
If calling on command-line: phpunit --configuration phpunit.xml.dist
I'm getting:
PHPUnit 6.1.4 by Sebastian Bergmann and contributors.
This version of PHPUnit is supported on PHP 7.0 and PHP 7.1.
You are using PHP 5.6.30 (/usr/local/bin/php).
It seems like it's.... the wrong binary or smth?
Create MySQL Docker files with reduced requirements for RAM
Should we include them into image or user is supposed to install it through composer?
Look at MariaDB and Percona, should we provide them as alternatives for MySQL
Add node.js (and npm) since it might be required for building final application
Why do you remove all extensions?
for ext in $phpModules; do \
rm -f /usr/local/etc/php/conf.d/docker-php-ext-$ext.ini; \
done
Highlight shell for usability of test results in CI log
Hi,
Can you include the AMQP Pecl Module?
Change swap size from fixed 1G to user-defined
GMP extension fails to build
PHP 5.4 is legacy now and not supported by official docker repository anymore. Need to provide own vanilla version
debian:squeeze - the base of PHP 5.2 image is now legacy. Docker get an error in a build.
Can't build php imap (at least for php 7)
How to pass custom php.ini values to container?
Apologies for this issue, it's just a brief discussion about Memcache.
Did the Dockerfile build correctly with the pecl install Memcache?
I tried a few days ago (basing my images on yours), and I could only get it to build if I grabbed the version from GitHub rather than from Pecl.
Hi there,
i need for my test setup the following:
packages:
libmagickwand-dev libgeoip-dev
PECL Modules:
imagick apcu-(5.1.8) geoip
How do i get them into my build setup?
Thanks & Cheers,
Thomas
Docker repository https://hub.docker.com/r/tetraweb/php/ now fetches root README.md instead of PHP specific.
Docs should be reorganized.
Can't compile ldap extension
Should we provide Postgresql support as well?
Latest stable PHPUnit doesn't support PHP versions less than 5.6.
So each image has to download certain version of PHP
There should be an option for disabling SSH password authentication in favor of keys
Potentially it can block the SSH access to machine
Non-zero exit codes are not handled by gitlab-ci
Thanks for this great docker images collection!
I'm trying to connect to the mysql container during my test suite, but it's always failling, do you have some tips for this?
Thanks again.
My composer install fails because it tries to clone from my GitLab. Can openssh-client be part of the main image?
Also, is there a sane way of passing a private key, so it can ssh into my GitLab box. At the moment, I have a script which fetches a private key from my LAN, key scanning the host (to add the key)
Interactive mode fails with
curl -L https://raw.githubusercontent.com/TetraWeb/docker/master/gitlab-runner-vm/bootstrap.sh | bash
How to test vm-bootstrap with travis and possibly gitlab-runner?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.