A docker image linux/amd64
for your Laravel application with PHP.
docker run pionl/docker-php-laravel-ci:7.2 php --version
Gitlab CI usage
image: pionl/docker-php-laravel-ci:8.2-node-20
You can extend our image and add your own dependencies. Here is an example of how you can extend our image and add node
and npm
to it.
FROM pionl/docker-php-laravel-ci:8.2-node-20
RUN install-php-extensions some-extension
This package is powered by docker work flow cli tool wf-docker.
- NodeJS (multiple versions)
- Composer v2
- rsync
- git + open-ssh
- PHP modules:
- ctype
- redis
- pdo
- pdo_mysql
- gd
- exif
- mbstring
- json
- xml
- tokenizer
- xdebug
- imagick
- opcache
- pcov
- soap
- intl
- xsl
- bcmath
- zip
This is a list of images that are deprecated and not updated anymore.
Installed PHP modules: ctype redis pdo pdo_mysql gd exif mbstring json xml tokenizer xdebug imagick opcache pcov
- Run
npm install
- Change the
Dockerfile.template
- For new php versions edit
package.json
andwf-docker.tags
property - Use
npm run build
to build and push the image - Optionally build only desired image by running
./node_modules/.bin/wf-docker build 8.2-node-20
See package.json scripts for advanced usage or wf-docker
This project is licensed under the MIT License - see the LICENSE.md file for details.