Docker Alpine Ruby
Provides a Ruby focused Docker image with current tooling for development purposes. Great for local development and/or continuous integration builds using the most up-to-date tooling.
Uses the Docker Alpine Base image.
To set up the project, run:
git clone https://github.com/bkuhlmann/docker-alpine-ruby.git cd docker-alpine-ruby git checkout 2.2.0
All versions of this image can be found on Docker Hub. The image can be pulled as follows:
docker pull bkuhlmann/alpine-ruby:latest # <= Pull latest version. docker pull bkuhlmann/alpine-ruby:2.2.0 # <= Pull specific version.
You can also build on top of this image via your
FROM bkuhlmann/alpine-ruby:latest # <= Latest version. FROM bkuhlmann/alpine-ruby:2.2.0 # <= Specific version.
To contribute, run:
git clone https://github.com/bkuhlmann/docker-alpine-ruby.git cd docker-alpine-ruby
To build, run:
To use the console, run:
To deploy a new version (i.e.
Deploying, without specifying a version, will default to tagging the image as
latest. Best practice is to deploy both the latest version and specific tag. Example:
bin/deploy bin/deploy 1.2.3
To test, run:
bin/console ruby --version
Built with Rubysmith.
Engineered by Brooke Kuhlmann.