Platform for building and running Ruby on Rails 5.0 applications
10K+
This container image includes Ruby on Rails 5.0 platform for general usage. Users can choose RHEL image. The RHEL image is available in the Red Hat Container Catalog as registry.access.redhat.com/rhscl/ror-50-rhel7.
Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration. The container image provides a Ruby on Rails 5.0 platform for building and running applications. It contains Ruby 2.4, Ruby on Rails 5.0, and NodeJS 6 preinstalled.
The image is to aimed to be used as base image for various layered application images.
To pull the rhscl/ror-50-rhel7 image, run the following command as root:
docker pull rhscl/ror-50-rhel7
To create a layered container image that uses this image as base, create a Dockerfile as the following:
FROM rhscl/ror-50-rhel7
COPY your-app /opt/app-root/src
CMD ...
No further configuration is required. This image contains and enables the rh-ruby24, rh-ror50, and rh-nodejs6 Software Collections.
This image doesn't support S2I tool.
For automatic S2I builds, use the Ruby container available as rhscl/ruby-24-rhel7 for RHEL or centos/ruby-24-centos7 for CentOS.
No special environment variables or volumes available.
Container log can be examined by running:
docker logs <container>
Dockerfile and other sources for this container image are available on https://github.com/sclorg/ror-container. In that repository, Dockerfile for CentOS is called Dockerfile, Dockerfile for RHEL is called Dockerfile.rhel7.
docker pull centos/ror-50-centos7:latest