Simple container based on php:8.0 containing everything to run yawik, phpunit and behat tests. It's used to run phpunit and behat tests. It contains:
- php8.0
- composer
- npm
- php-mongodb > 1.9
- php-solr > 2.5
- nginx
- pip3
- mkdocs
In addition a unprivileged user yawik
is created.
The docker container links a mongo:4.4 and a selenium container.
Pushes to the master trigger the build of
https://hub.docker.com/repository/docker/yawik/build
you can build and run the docker container by:
git clone https://gitlab.com/yawik/docker/build.git cd build docker-composer up
after the container was build and started, you can enter it with docker exec -it php /bin/bash
root@docker:~# docker exec -it php /bin/bash root@php:/# su - yawik yawik@php:~$ ./checkout-yawik.sh
work in progress. Image is used in CI/CD.
MIT