Skip to content

pionl/docker-php-laravel-ci

Repository files navigation

Docker image for Laravel stack (for CI environment)

A docker image linux/amd64 for your Laravel application with PHP.

Usage

docker run pionl/docker-php-laravel-ci:7.2 php --version

Gitlab CI usage

Gitlab CI usage

image: pionl/docker-php-laravel-ci:8.2-node-20

Extending our image

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

Tags

https://github.com/pionl/docker-php-laravel-ci

Image Badges
pionl/docker-php-laravel-ci:8.4-node-22
pionl/docker-php-laravel-ci:8.3-node-22
pionl/docker-php-laravel-ci:8.3-node-20
pionl/docker-php-laravel-ci:8.2-node-20
pionl/docker-php-laravel-ci:8.2-node-18
pionl/docker-php-laravel-ci:8.1-node-18
pionl/docker-php-laravel-ci:8.1-node-17
pionl/docker-php-laravel-ci:8.0-node-17

Built With

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

Deprecated

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

Image Badges
pionl/docker-php-laravel-ci:7.4-node-17
pionl/docker-php-laravel-ci:7.4-node-14
pionl/docker-php-laravel-ci:7.4-node-10
pionl/docker-php-laravel-ci:7.2-node-17
pionl/docker-php-laravel-ci:7.2-node-17-composer-1
pionl/docker-php-laravel-ci:7.2-node-14
pionl/docker-php-laravel-ci:7.2-node-14-composer-1

Find Us

Contributions

  1. Run npm install
  2. Change the Dockerfile.template
  3. For new php versions edit package.json and wf-docker.tags property
  4. Use npm run build to build and push the image
  5. 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

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

Docker image for Laravel stack (for CI environment)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published