项目作者: sclorg

项目描述 :
Phusion Passenger container images based on Red Hat Software Collections and intended for OpenShift and general usage. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
高级语言: Shell
项目地址: git://github.com/sclorg/passenger-container.git
创建时间: 2016-05-09T18:05:35Z
项目社区:https://github.com/sclorg/passenger-container

开源协议:Apache License 2.0

下载


Phusion Passenger container images

This repository contains Dockerfiles for Phusion Passenger images for OpenShift.
Users can choose between RHEL, Fedora and CentOS based images.

For more information about contributing, see
the Contribution Guidelines.
For more information about concepts used in these container images, see the
Landing page.

Versions

All Passenger versions are currently deprecated and not supported anymore

Installation

To build a Passenger image, choose either the CentOS or RHEL based image:

  • RHEL based image

    These images are available in the Red Hat Container Catalog.
    To download it run:

    1. $ docker pull registry.access.redhat.com/rhscl/passenger-40-rhel7

    To build a RHEL based Passenger image, you need to run the build on a properly
    subscribed RHEL machine.

    1. $ git clone --recursive https://github.com/sclorg/passenger-container.git
    2. $ cd passenger-container
    3. $ git submodule update --init
    4. $ make build TARGET=rhel7 VERSIONS=4.0
  • CentOS based image

    This image is available on DockerHub. To download it run:

    1. $ docker pull centos/passenger-40-centos7

    To build a Passenger image from scratch run:

    1. $ git clone --recursive https://github.com/sclorg/passenger-container.git
    2. $ cd passenger-container
    3. $ git submodule update --init
    4. $ make build TARGET=centos7 VERSIONS=4.0

Notice: By omitting the VERSIONS parameter, the build/test action will be performed
on all provided versions of Passenger.

Usage

For information about usage of Dockerfile for Passenger 4.0,
see usage documentation.

Test

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

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

  • RHEL based image

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

    1. $ cd passenger-container
    2. $ git submodule update --init
    3. $ make test TARGET=rhel7 VERSIONS=4.0
  • CentOS based image

    1. $ cd passenger-container
    2. $ git submodule update --init
    3. $ make test TARGET=centos7 VERSIONS=4.0

Notice: By omitting the VERSIONS parameter, the build/test action will be performed
on all provided versions of Passenger.