This repository contains the source for building various versions of the R application as a reproducible Docker image using source-to-image.
For more information about contributing, see the Contribution Guidelines. For more information about concepts used in these docker images, see the Landing page.
R versions currently provided are:
CentOS versions currently supported are:
- CentOS7
To build a R image, read the following instructions:
-
CentOS based image
This image is available on DockerHub. To download it run:
$ docker pull rimolive/r-36-centos7
To build a R image from scratch run:
$ git clone https://github.com/rimolive/r-s2i-openshift.git $ cd r-s2i-openshift $ make build
For information about usage of Dockerfile for R 3.4.3, see usage documentation.
For information about usage of Dockerfile for R 3.5.0, see usage documentation.
For information about usage of Dockerfile for R 3.6.0, see usage documentation.
This repository also provides a S2I test framework, which launches tests to check functionality of a simple Python application built on top of the s2i-python-container image.
Users can choose between testing a Python test application based on a CentOS image.
-
CentOS based image
$ cd r-s2i-openshift $ make test
-
<r-version>
-
Dockerfile
CentOS based Dockerfile.
-
s2i/bin/
This folder contains scripts that are run by S2I:
-
assemble
Used to install the sources into the location where the application will be run and prepare the application for deployment (eg. installing dependencies, etc.)
-
run
This script is responsible for running the application by using the application web server.
-
usage*
This script prints the usage of this image.
-
-
test/
This folder contains a S2I test framework with a simple server.
-