Sha256: ee5aee1569a14c916caa3a9a7913400d85bdb78137bcbb45721a3ae390777fdb
Contents?: true
Size: 749 Bytes
Versions: 12
Compression:
Stored size: 749 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 litaio/ruby:2.2.2 MAINTAINER Guillaume Hain zedtux@zedroot.org # ~~~~ Set up the environment ~~~~ ENV DEBIAN_FRONTEND noninteractive # ~~~~ OS Maintenance ~~~~ RUN apt-get update && apt-get install -y git # ~~~~ 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
12 entries across 12 versions & 3 rubygems