diff options
author | 2019-10-06 21:41:30 +0200 | |
---|---|---|
committer | 2019-10-06 21:41:30 +0200 | |
commit | 0c9c90617279f321fd1a9759fb6643ad0980af06 (patch) | |
tree | efa261a9b7767f0d73ffeda8cd9fcd65e2c0caf1 | |
parent | Update to rails 6.0 (diff) | |
download | packages-5-dev/rails-6.0.tar.gz packages-5-dev/rails-6.0.tar.bz2 packages-5-dev/rails-6.0.zip |
Update the Dockerfile for rails 6dev/rails-6.0
Rails 6 requires Ruby 2.5 or newer. Furthermore a recent version
of bundler (v2.0.2) is used. It is installed using gem as long as
the recent version isn't packaged for gentoo.
Signed-off-by: Max Magorsch <max@magorsch.de>
-rw-r--r-- | Dockerfile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -13,8 +13,13 @@ RUN emerge net-libs/nodejs RUN emerge sys-process/cronie # Bundler is how we install the ruby stuff. RUN mkdir -p /etc/portage/package.accept_keywords/ -RUN echo "=dev-ruby/bundler-1.17.3 ~amd64" >> /etc/portage/package.accept_keywords/bundler -RUN emerge =dev-ruby/bundler-1.17.3 +RUN echo "=dev-ruby/rdoc-6.2.0 ~amd64" >> /etc/portage/package.accept_keywords/ruby +RUN echo "=dev-lang/ruby-2.5.6 ~amd64" >> /etc/portage/package.accept_keywords/ruby + +RUN emerge =dev-lang/ruby-2.5.6 +RUN gem install bundler + +RUN emerge dev-vcs/git # Needed for changelogs. RUN git clone https://anongit.gentoo.org/git/repo/gentoo.git /mnt/packages-tree/gentoo/ |