An open API service indexing awesome lists of open source software.

https://github.com/poldixd/docker-php

🐳 It's my personal Docker PHP Image for the CI. Everything you need to test a Laravel application is on board.
https://github.com/poldixd/docker-php

docker docker-image php

Last synced: about 2 months ago
JSON representation

🐳 It's my personal Docker PHP Image for the CI. Everything you need to test a Laravel application is on board.

Awesome Lists containing this project

README

          

# Docker PHP Image

It's my personal Docker PHP Image for the CI. Everything you need to test a Laravel application is on board. You can find the image on the docker hub: https://hub.docker.com/repository/docker/poldixd/php/general

## Build locally

### With Chromium

```bash
docker build \
--build-arg INSTALL_CHROMIUM=true \
-t poldixd/php:8.4-chromium \
-f php/8.4/Dockerfile \
.
```

### Without Chromium

```bash
docker build \
--build-arg INSTALL_CHROMIUM=false \
-t poldixd/php:8.4 \
-f php/8.4/Dockerfile \
.
```

## Use it in your .gitlab-ci.yml

```yml
test:
stage: test
image: poldixd/php:8.4
script:
- php vendor/bin/pest --coverage
```

## Contributing

Feel free to create a pull request.

## Credits

- Special thanks to [edbizarro](https://github.com/edbizarro)