Skip to content

railsbridge-nyc/dockerfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

dockerfile

A Dockerfile we can use as a base for our Rails workshops.

(Still validating the idea).

Updating the Dockerfile

  • To update Ruby, update the base image
  • To update Rails, update the gem install -v *.*.* rails invocation
  • To force the image to rebuild / bust the docker cache for any other reason, increment the number in dockerfile-version

The image will rebuild whenever we push to this GitHub repository.

Using the image

Open irb:

docker run --rm -it railsbridgenyc/rails irb

Generate a new Rails app:

docker run --rm -it -v ${PWD}:/workdir railsbridgenyc/rails rails new testo --database=postgresql

With docker-compose

TODO: add example

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published