https://github.com/cdcgov/s2i-ruby-vocab-builder

Ruby Source-to-Image builder tailored to the needs of the SDP Vocabulary project.

https://github.com/cdcgov/s2i-ruby-vocab-builder

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.6%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Ruby Source-to-Image builder tailored to the needs of the SDP Vocabulary project.

Basic Info
  • Host: GitHub
  • Owner: CDCgov
  • License: apache-2.0
  • Language: Shell
  • Default Branch: master
  • Size: 33.2 KB
Statistics
  • Stars: 0
  • Watchers: 4
  • Forks: 4
  • Open Issues: 0
  • Releases: 0
Created over 7 years ago · Last pushed over 7 years ago
Metadata Files
Readme License

README.md

Ruby Docker images

Build Status

This repository contains the source for building various versions of the Ruby application 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.

These images have been customized for the SDP Vocabulary service.

Versions

Ruby versions currently provided are: * ruby-2.5

RHEL versions currently supported are: * RHEL7

CentOS versions currently supported are: * CentOS7

Installation

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

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

```
$ git clone https://gitlab.mitre.org/CDC-SDP/s2i-ruby-container.git
$ cd s2i-ruby-container
$ make build TARGET=rhel7 VERSIONS=2.5
```
  • CentOS based image

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

    $ docker pull centos/ruby-25-centos7

    To build a Ruby image from scratch run:

    $ git clone https://gitlab.mitre.org/CDC-SDP/s2i-ruby-container.git $ cd s2i-ruby-container $ make build TARGET=centos7 VERSIONS=2.5

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

Usage

For information about usage of Dockerfile for Ruby 2.5, see usage documentation.

Test

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

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

  • RHEL based image

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

    $ cd s2i-ruby-container $ make test TARGET=rhel7 VERSIONS=2.5

  • CentOS based image

    $ cd s2i-ruby-container $ make test TARGET=centos7 VERSIONS=2.5

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

Repository organization

  • <ruby-version>

    Dockerfile and scripts to build container images from.

  • hack/

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

Image name structure

  1. Platform name (lowercase) - ruby
  2. Platform version(without dots) - 25
  3. Base builder image - centos7/rhel7

Examples: ruby-25-centos7, ruby-25-rhel7

Owner

  • Name: Centers for Disease Control and Prevention
  • Login: CDCgov
  • Kind: organization
  • Email: data@cdc.gov
  • Location: Atlanta, GA

CDC's collaborative software projects to protect America from health, safety, and security threats, both foreign and in the U.S.

GitHub Events

Total
  • Fork event: 3
Last Year
  • Fork event: 3

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

2.5/Dockerfile docker
  • centos/s2i-base-centos7 latest build
2.5/test/puma-test-app/Gemfile rubygems
  • puma >= 0
  • sinatra >= 0
2.5/test/puma-test-app/Gemfile.lock rubygems
  • bundler 1.14.4
  • puma 3.12.0
  • rack 1.6.11
  • rack-protection 1.5.5
  • sinatra 1.4.8
  • tilt 2.0.9
2.5/test/rack-test-app/Gemfile rubygems
  • sinatra >= 0
2.5/test/rack-test-app/Gemfile.lock rubygems
  • bundler 1.14.4
  • mustermann 1.0.3
  • rack 2.0.6
  • rack-protection 2.0.5
  • sinatra 2.0.5
  • tilt 2.0.9