Skip to content

iutrace/bitbucket-pipelines-php81

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP 8.1 Laravel Development Environment

This Docker image is a fork of Pierre-Yves Guerder's PHP 8.1 development environment.

Original Author

What's Included

  • Ubuntu 22.04
  • PHP 8.1 with common extensions
  • MySQL Server
  • Apache2
  • Node.js & Yarn
  • Composer
  • Various development tools

Changes from Original

  • Updated to Ubuntu 22.04
  • Modernized the Dockerfile to use new Docker best practices

Usage

docker build -t your-name/laravel-php81 .
docker run -d your-name/laravel-php81

License

This project maintains the same license as the original work by Pierre-Yves Guerder.

Based on Ubuntu 22.04

Packages installed

  • php8.1-zip, php8.1-xml, php8.1-mbstring, php8.1-curl, php8.1-json, php8.1-imap, php8.1-mysql, php8.1-tokenizer, php8.1-xdebug, php8.1-intl, php8.1-soap, php8.1-pdo, php8.1-cli, php8.1-apcu and php8.1-gd
  • wget, curl, unzip
  • Composer 2
  • Mysql 8
  • Node + Yarn

Sample bitbucket-pipelines.yml

image: iutrace/bitbucket-pipelines-php81
pipelines:
  default:
    - step:
        script:
          - service mysql start
          - mysql -h localhost -u root -proot -e "CREATE DATABASE test;"
          - composer install --no-interaction --no-progress --prefer-dist
          - ./vendor/phpunit/phpunit/phpunit -v --coverage-text --colors=never --stderr

About

Docker image based on Ubuntu 22.04 with PHP-8.1/Composer2-2/MySQL-8 to test Symfony projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%