Docker image based on Ubuntu 18.04 with PHP-7.2
Use this image to test Symfony Project in Bitbucket Pipelines with all the packages you need already installed.
Enable Bitbucket Pipelines and add the file bitbucket-pipelines.yml
to the root of your project.
Add your deployment scripts to the steps.
image: cromattica/ubuntu-php72
pipelines:
branches:
develop:
- step:
caches:
- composer
deployment: test
script:
- composer install --no-interaction --no-progress --prefer-dist
- ./vendor/bin/simple-phpunit
If you want to test locally the image run the next commands:
Clone the repository
git clone [email protected]:cromattica/ubuntu-php72.git
Change the directory
cd ubuntu-php72
Build the image
docker build ./
If you want to fork it and to add something else, you also have to upload to Docker Hub.
Please feel free to open an issue or a pull request.
- Miguel Ángel Martín - @miguelbemartin
This project is licensed under the MIT License - see the LICENSE.md file for details