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.
or (more advanced)
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
Post a Comment