allegro/ralph-docker

Name: ralph-docker

Owner: Allegro Tech

Description: Ralph docker image configuration

Created: 2015-03-23 10:57:19.0

Updated: 2017-08-22 17:27:18.0

Pushed: 2015-04-23 13:29:32.0

Homepage: null

Size: 288

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Ralph Docker image configuration

Build a docker container for the Ralph DCIM system.

Before running the script, you must change the configuration file.

Rename file config.json.example to config.json and change it:

OSITORIES_TYPES": {
"github": "https://github.com/%(fork)s/%(repo_name)s.git -b% (branch) s"

Set the url to clone repositories

In the key REPOSITORIES are all repositories that cloning at startup image


"owner": "allegro"
"default_branch": "develop"
"type": "github"
"repo_name": "django-bob"

owner - username from Github default_branch - default name of branch type - github (url from REPOSITORIES_TYPES) repo_name - the name of the repository

You can change the settings before starting for each repository by environmental variables

rt RALPH_FORK = 'my_fork'
rt RALPH_BRANCH = 'my_branch'

Then the image of Docker will be built with your changes

Build docker base image. Base image has the all packages to run Ralph:

 ./run.sh build base

Build docker os image. Os is the sample image data and prepared for scanning (ssh_linux, dns_hostname, snmp):

 ./run.sh build os

Initialize image:

 ./run.sh init os

Start container:

 ./run.sh start os

Open docker (/bin/bash):

 ./run.sh exec os

Upgrade Ralph to new version:

 ./run.sh upgrade os

See more information to Ralph installation: http://ralph.readthedocs.org/en/latest/installation.html

It is an Open Source project provided on Apache v2.0 License.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.