Skip to content

d-mv/docker-ruby-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker // Ruby Environment v2

Why?

Instead of bloating the laptop with development software, Docker container(s) can be used.

Container Contents

Container is based on latest Ubuntu and configured to setup some standard software and utilities to use, as well as Ruby specific. The shared folder mapped to ./data.

Standard:

Use

Download and use the following scripts:

  • build_n_run.sh - to build, run and execute container.
  • run.sh - to delete old instance, run & execute the container.
  • exec.sh - just execute (login).

UPDATE 1

  • Increased upper limits: 4 GB memory and 4 CPU cores.
  • Change Oh-My-Zsh default theme to remove Git plugin to speed up the folder navigation on shared folders with Git initialized.
  • Removed Micro Editor - due to installation issues.
  • Added Nano editor instead.
  • Changed scripts:
  • Added scripts:
    • _run_3000.sh - maps port 3000 to host 8080.
    • _destroy.sh - destroys container and image.
    • exec.sh - execute (login) with docker as user.
    • exec_root.sh - execute (login) with root as user.
    • start.sh - starts container.

UPDATE 2

  • Removed gem installation to speed up.
  • Added PostgreSQL (can be disabled).
  • Add Linuxbrew.

v2

  • Removed all non-required stuff:
    • scripts with ports (build-n-run & run have ports mapped)
    • removed ZSH themes
  • Refactored to decrease amount of actions and layers
  • Node with JS will be included in Docker // JS Environment

About

Docker // Ruby development environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages