Skip to content

Docker image to use with Bitbucket Pipelines based on Ubuntu 18.04 with PHP-7.2

License

Notifications You must be signed in to change notification settings

cromattica/ubuntu-php72

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Image Ubuntu 18.04

Docker image based on Ubuntu 18.04 with PHP-7.2

Getting Started

Use this image to test Symfony Project in Bitbucket Pipelines with all the packages you need already installed.

Prerequisites

Enable Bitbucket Pipelines and add the file bitbucket-pipelines.yml to the root of your project.

Installing

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

Test locally

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 ./

Deployment

If you want to fork it and to add something else, you also have to upload to Docker Hub.

Contributing

Please feel free to open an issue or a pull request.

Authors

License

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

About

Docker image to use with Bitbucket Pipelines based on Ubuntu 18.04 with PHP-7.2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published