This docker image includes:
- bash (+ themes)
- oh-my-zsh (+ themes)
- tmux (+ themes)
- rbenv / rvm
- gem test unit (rspec, serverspec)
- gem docker-api
- gem sqlite3, mongoid, sequel, apktools
- gem mysql2 (run: yum install -y mysql-devel)
- gem pg, sequel_pg (run: yum install -y postgresql-libs postgresql-devel)
- gem rubocop
- others
- 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
You can run docker-compose for different environment with selected containers
- Copy
env.sh.example
toenv.sh
- Change to execute script
chmod a+x env.sh
- Change environment in
env.sh
fileENV="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