Giter Site home page Giter Site logo

acrozes / s2i-nginx-php7-container Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uniqkey/s2i-nginx-php7-container

0.0 2.0 0.0 201 KB

s2i builder for php7 as php-fpm fronted by nginx suitable for laravel

License: Apache License 2.0

Dockerfile 34.48% Shell 60.29% Makefile 5.23%

s2i-nginx-php7-container's Introduction

PHP 7 (FPM) Docker images

This repository contains the source for building a PHP 7 with NGINX as a reproducible Docker image using source-to-image. Users can choose between RHEL and CentOS based builder images. The resulting image can be run using Docker.

For more information about using these images with OpenShift, please see the official OpenShift Documentation.

Versions

PHP versions currently supported are:

  • php-7.1
  • php-7.2

RHEL versions currently supported are:

  • RHEL7

CentOS versions currently supported are:

  • CentOS7

Installation

To build a PHP image

  • CentOS based image
    $ git clone https://github.com/UniqKey/s2i-nginx-php7-container.git
    $ cd s2i-nginx-php7-container
    $ make build VERSION=7.2
    

Alternatively, you can pull the CentOS image from Docker Hub via:

$ docker pull uniqkey/s2i-nginx-php72

Notice: By omitting the VERSION parameter, the build/test action will be performed on all the supported versions of PHP.

Test

This repository also provides a S2I test framework, which launches tests to check functionality of a simple PHP application built on top of the s2i-php image.

Users can choose between testing a PHP test application based on a RHEL or CentOS image.

  • RHEL based image

    This image is not available as a trusted build in Docker Index.

    To test a RHEL7 based PHP-5.5 image, you need to run the test on a properly subscribed RHEL machine.

    $ cd s2i-nginx-php7-container
    $ make test TARGET=rhel7 VERSION=7.2
    
  • CentOS based image

    $ cd s2i-nginx-php7-container
    $ make test VERSION=7.2
    

Notice: By omitting the VERSION parameter, the build/test action will be performed on all the supported versions of PHP.

Repository organization

  • <php-version>

    Dockerfile and scripts to build container images from.

  • hack/

    Folder containing scripts which are responsible for the build and test actions performed by the Makefile.

Public s2i Images

  • uniqkey/s2i-nginx-php71
  • uniqkey/s2i-nginx-php72

s2i-nginx-php7-container's People

Contributors

bparees avatar brenton avatar csrwng avatar eliskasl avatar ewolinetz avatar hhorak avatar jhadvig avatar luciddreamz avatar mfojtik avatar mnagy avatar php-coder avatar praiskup avatar remicollet avatar rhcarvalho avatar sdodson avatar simbo1905 avatar soltysh avatar spinolacastro avatar stevekuznetsov avatar

Watchers

 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.