This is a docker image that eases setup Ruby on Rails; especially optimized for RoR 4.2.6.
656
This is a docker image that eases setup Ruby on Rails; especially optimized for RoR 4.2.6.
This docker image contains native extension gems:
This docker image is available as an automated build on the docker registry hub, so using it is as simple as running:
$ docker pull shouldbee/rails
$ docker run -it --rm -v `pwd`:/app shouldbee/rails sh -c 'gem install rails && rails new . -d postgresql'
$ docker run -v `pwd`:/app -p 3000 shouldbee/rails bundle exec rails server -b 0.0.0.0
$ git inti myapp
$ cd myapp
$ dinghy create --provider=virtualbox
$ eval $(dinghy shellinit)
$ docker run -it --rm -v `pwd`:/app shouldbee/rails sh -c 'gem install rails && rails new . -d postgresql'
Copy docker-compose-example/docker-compose.yml and docker-compose-example/Dockerfile to myapp and then:
$ docker-compose up -d
Finally, visit http://rails.docker.
make build
Content type
Image
Digest
Size
60.6 MB
Last updated
over 10 years ago
docker pull shouldbee/rails