Sha256: 90bc585df62f076b2e157c500cdab6f86d7e573bf7c35079a027d2a849f0fb69
Contents?: true
Size: 789 Bytes
Versions: 1
Compression:
Stored size: 789 Bytes
Contents
# Fakerjs-rails gem Dockerfile # # 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-slim 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 make gcc # ~~~~ 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fakerjs-rails-3.1.0 | Dockerfile |