Sha256: 355d9084d11f73267f8dd282d446d31f16a38618ffdffc70cb402ca8656a99ef

Contents?: true

Size: 863 Bytes

Versions: 6

Compression:

Stored size: 863 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-slim
MAINTAINER Guillaume Hain zedtux@zedroot.org


# ~~~~ Set up the environment ~~~~
ENV DEBIAN_FRONTEND noninteractive

RUN mkdir -p /gem/
WORKDIR /gem/
ADD . /gem/

# ~~~~ OS Maintenance & Rails Preparation ~~~~
# Rubygems and Bundler
RUN apt-get update && \
  apt-get install -y git build-essential unzip && \
  touch ~/.gemrc && \
  echo "gem: --no-ri --no-rdoc" >> ~/.gemrc && \
  gem install rubygems-update && \
  update_rubygems && \
  gem install bundler && \
  bundle install && \
  apt-get remove --purge -y build-essential && \
  apt-get autoclean -y && \
  apt-get clean

# Import the gem source code
VOLUME .:/gem/

ENTRYPOINT ["bundle", "exec"]
CMD ["rake", "-T"]

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
perfect-scrollbar-rails-0.6.15 Dockerfile
perfect-scrollbar-rails-0.6.14 Dockerfile
perfect-scrollbar-rails-0.6.13 Dockerfile
modal-responder-rails-1.0.0 Dockerfile
perfect-scrollbar-rails-0.6.12 Dockerfile
perfect-scrollbar-rails-0.6.11 Dockerfile