Sha256: a2c280fd1cdb53d1dec8b4ce9c444acbe4618fbe9a3aee790a65386dd0463298
Contents?: true
Size: 744 Bytes
Versions: 3
Compression:
Stored size: 744 Bytes
Contents
# How to use it # ============= # # Visit http://blog.zedroot.org/using-docker-to-maintain-a-ruby-gem/ # ~~~~ Image base ~~~~ # Base image with the latest Ruby only FROM ruby:2.3.0 MAINTAINER Guillaume Hain zedtux@zedroot.org # ~~~~ Set up the environment ~~~~ ENV DEBIAN_FRONTEND noninteractive # ~~~~ OS Maintenance ~~~~ RUN apt-get update && apt-get install -y unzip # ~~~~ Rails Preparation ~~~~ # Rubygems and Bundler RUN touch ~/.gemrc && \ echo "gem: --no-ri --no-rdoc" >> ~/.gemrc && \ gem install rubygems-update && \ update_rubygems && \ gem install bundler && \ mkdir -p /gem/ WORKDIR /gem/ ADD . /gem/ RUN bundle install # Import the gem source code VOLUME .:/gem/ ENTRYPOINT ["bundle", "exec"] CMD ["rake", "-T"]
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
perfect-scrollbar-rails-0.6.10 | Dockerfile |
perfect-scrollbar-rails-0.6.9 | Dockerfile |
perfect-scrollbar-rails-0.6.8.1 | Dockerfile |