Skip to content

Commit

Permalink
add RVM cleanup to reduce base Docker image size
Browse files Browse the repository at this point in the history
  • Loading branch information
e2 committed Apr 4, 2016
1 parent 7f19e08 commit 328dd5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ WORKDIR /home/guest
RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
RUN /bin/bash -l -c "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
RUN curl -L get.rvm.io | bash -s stable
RUN /bin/bash -l -c "rvm install 2.3.0"
RUN /bin/bash -l -c "rvm install 2.3.0 && rvm cleanup all"
RUN /bin/bash -l -c "gem install bundler --no-ri --no-rdoc"

ONBUILD ENV USER guest
Expand Down

0 comments on commit 328dd5a

Please sign in to comment.