Git Product home page Git Product logo

docker-alpine-php-composer's Introduction

Docker Alpine PHP with Composer

nodesource/node

A very small Docker image to bootstrap your PHP development.

This Docker image is based on petehouston/docker-alpine-php but with Composer supported.

Support Versions

Following PHP versions are supported,

How to use?

First, pull to your local development machine,

$ docker pull petehouston/docker-alpine-php-composer

Then run the composer command in the mount directory

$ docker run --rm -v $(pwd):/home -w /home petehouston/docker-alpine-php-composer:5.6 composer require phpunit/phpunit

Build

The repo uses make to execute the command, so you can either use make to build or manually issue the commands.

The build commands are listed below:

  • make php-5.5: to build image for PHP 5.5.
  • make php-5.6: to build image for PHP 5.6.
  • make php-7.0: to build image for PHP 7.0.
  • make build:to build images for all PHP versions.
  • make test: to execute image tests.
  • make all or make: to execute build and test
  • make clean: to remove all images.

Testing

The test suite is located in tests/index.sh.

Notes

Please share your words if any. Always welcome :)

docker-alpine-php-composer's People

Contributors

petehouston avatar

Stargazers

 avatar Hai Le Phu avatar  avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.