Ruby On Rails : DOcker : Is it feasible to build ROR project dependencies inside docker image -


i work on project built on ror. projects has dependent gems , packages such fog, rmagick, sidekiq, elasticsearch, carrierwave, imagemagic, engineyard, ruby, rails, etc.

problems faced:
laptops of fellow developers crash. takes whole working-day install dependent gems , packages in linux ubuntu 14.04 / 15.04.

  • is possible build mentioned above inside docker image , distribute among developers?
  • can run rails rails s?

is possible build mentioned above inside docker image , distribute among developers?

yes! i'm running couple of rails applications in docker containers. apart mark o'connor's link suggest check out:

this demo app created show how develop , deploy moderately complex application docker.

  1. https://github.com/cpuguy83/docker-rails-dev-demo

or (more advanced)

  1. https://github.com/discourse/discourse_docker

these examples of how can build rails image. as far distributing goes: you'll have setup own docker registry or in case don't mind having images in out in open push docker.io registry.

can run rails rails s?

yes can think of docker container execution environment rails application. typical commands can run.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -