jontrossbach / s2i-jekyll-1

This is a s2i builder for Jekyll.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jekyll S2I Image

This repository contains the source for a builder using Jekyll that produces static websites utilizing OpenShift's source-to-image process.

The resulting image is not able to be run, as it only contains the generated Jekyll website content.

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

Please note that support for CentOS is questionable at best as I have no interest in supporting it.

Versions

Ruby versions currently supported are included with Red Hat Software Collections, and subsequently require the host system doing the build to be properly installed, configured and subscribed:

  • rh-ruby2.5

Installation

To build the Jekyll Builder image:

  • RHEL based image

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

    $ docker pull mrjoshuap/s2i-jekyll
    

    To build this image from scratch run:

    $ git clone https://github.com/mrjoshuap/s2i-jekyll.git
    $ cd s2i-jekyll
    $ ./configure
    $ make
    

Usage

To build a Jekyll application image using this Builder Image (outside of OpenShift):

  • install S2I from https://github.com/openshift/source-to-image

  • perform a source to image build on the example Jekyll site source

    # s2i build \
        git://github.com/mrjoshuap/s2i-jekyll.git \
        --context-dir=example \
        s2i-jekyll \
        <application image>
    

About

This is a s2i builder for Jekyll.

License:GNU General Public License v3.0


Languages

Language:Shell 84.9%Language:Python 5.9%Language:Dockerfile 3.5%Language:SCSS 2.3%Language:Ruby 1.8%Language:HTML 1.0%Language:Makefile 0.7%