Commit b7207122 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] with new phpXY images

parent 2a934dcc
......@@ -33,7 +33,42 @@ correct use within Docker containers. It is Ubuntu, plus:
baseimage is a fork from [passenger-docker](
## phpXY
Images on top of baseimage:
* Single images per PHP version. There is an image coming with PHP 7.0 and an image for PHP 7.1 and so on.
* A mariaDB and (later) possible other DBMS.
* Add various services like a memcache and a redis daemon.
* Add a firefox version that works well with the currently supported acceptance test setup.
Users can start these images to execute unit, functional, acceptance and JS tests in an environment that is identical
to the core testing infrastructure.
Simple usage example:
# fetch latest 1.0 version of php70 image
docker pull typo3gmbh/php70:1.0
# start a local image, start processes and get a bash on it, delete everything on container logout
docker run -it --rm typo3gmbh/php70:1.0 /sbin/my_init -- bash
mkdir /srv/tmp && cd /srv/tmp
git clone git:// .
mkdir -p typo3temp/var/tests/
export HOME=/root DISPLAY=":99" typo3DatabaseName="func" typo3DatabaseUsername="funcu" typo3DatabasePassword="funcp" typo3DatabaseHost="localhost"
composer install
Xvfb :99 &
php -S localhost:8000 >/dev/null 2>&1 &
./bin/selenium-server-standalone >/dev/null 2>&1 &
./bin/codecept run Acceptance -d -c typo3/sysext/core/Build/AcceptanceTests.yml
The images allow running mysql in a ramdisk to speed up functional tests and allows to use an already
existing local core or typo3 instance as code source. The details of that will be documented
in an official document later.
## bamboo-remote-agent-phpXY
typo3gmbh/bamboo-remote-agent-phpXY add PHP and other stuff on top of the baseimage. One container
per supported PHP version is built.
\ No newline at end of file
typo3gmbh/bamboo-remote-agent-phpXY add the bamboo test runner on top of the phpXY images for integration in
TYPO3 GmbH testing infrastructure. Users usually don't have to deal with these images.
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment