Public | Automated Build

Last pushed: 22 days ago
Short Description
CentOS Ruby Docker (Ruby Container)
Full Description

CentOS Ruby Docker (Ruby Container)

This docker image includes:

Features:

  • bash (+ themes)
  • oh-my-zsh (+ themes)
  • tmux (+ themes)
  • rbenv / rvm
    • [X] gem test unit (rspec, serverspec)
    • [X] gem docker-api
    • [X] gem sqlite3, mongoid, sequel, apktools
    • [X] gem mysql2 (run: yum install -y mysql-devel)
    • [X] gem pg, sequel_pg (run: yum install -y postgresql-libs postgresql-devel)
    • [X] gem rubocop
    • [X] others

Docker Compose

  • Copy env-example to .env
  • Build & running
    docker-compose build && docker-compose up
    
  • Force recreate container
    docker-compose build && docker-compose up --force-recreate ruby
    
  • Running container only
    docker-compose up
    

Environments

You can run docker-compose for different environment with selected containers

  • Copy env.sh.example to env.sh
  • Change to execute script
    chmod a+x env.sh
    
  • Change environment in env.sh file
    ENV="development"            # (use: "development" or "production" as selected environment)
    CONTAINER_PRODUCTION="..."   # (selected containers will be run in production environment)
    CONTAINER_DEVELOPMENT="..."  # (selected containers will be run in development environment)
    
  • Running script
    ./env.sh
    

License

GNU General Public License v2

Docker Pull Command
Owner
zeroc0d3lab
Source Repository