Skip to content

Commit

Permalink
update rubygems and set --no-document for future gems
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydpick committed Apr 16, 2015
1 parent ee2461d commit ad0a0cd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docker/Dockerfile.ubuntu12.04
Expand Up @@ -18,8 +18,12 @@ RUN apt-get update
RUN apt-get -y install ruby2.1
RUN apt-get -y install ruby2.1-dev

# Update rubygems and don't install docs
RUN gem update --system --verbose
RUN echo "gem: --no-document" >> ~/.gemrc

# Install fpm-cookery
RUN gem install fpm-cookery -v 0.27.0

# Set an entry point to simplify command execution
ENTRYPOINT ["/usr/local/bin/fpm-cook"]
ENTRYPOINT ["/usr/local/bin/fpm-cook"]
6 changes: 5 additions & 1 deletion docker/Dockerfile.ubuntu14.04
Expand Up @@ -18,8 +18,12 @@ RUN apt-get update
RUN apt-get -y install ruby2.1
RUN apt-get -y install ruby2.1-dev

# Update rubygems and don't install docs
RUN gem update --system --verbose
RUN echo "gem: --no-document" >> ~/.gemrc

# Install fpm-cookery
RUN gem install fpm-cookery -v 0.27.0

# Set an entry point to simplify command execution
ENTRYPOINT ["/usr/local/bin/fpm-cook"]
ENTRYPOINT ["/usr/local/bin/fpm-cook"]

0 comments on commit ad0a0cd

Please sign in to comment.