Skip to content

Commit

Permalink
make all the remaining ruby distribtest pass
Browse files Browse the repository at this point in the history
  • Loading branch information
jtattermusch committed Feb 11, 2016
1 parent 5deaaa9 commit 367708a
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 10 deletions.
11 changes: 9 additions & 2 deletions tools/dockerfile/distribtest/ruby_centos6_x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@

FROM centos:6

RUN yum install -y ruby
RUN yum install -y curl

RUN gem install bundler
RUN yum install -y tar which

# Install rvm
RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
RUN \curl -sSL https://get.rvm.io | bash -s stable --ruby

RUN /bin/bash -l -c "echo '. /etc/profile.d/rvm.sh' >> ~/.bashrc"
RUN /bin/bash -l -c "gem install --update bundler"
15 changes: 13 additions & 2 deletions tools/dockerfile/distribtest/ruby_opensuse_x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@

FROM opensuse:42.1

RUN zypper --non-interactive install ruby
RUN zypper --non-interactive install curl

RUN gem install bundler
RUN zypper --non-interactive install tar which

RUN zypper --non-interactive install ca-certificates-mozilla

# Install rvm
RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
RUN \curl -sSL https://get.rvm.io | bash -s stable --ruby

# OpenSUSE is a bit crazy and ignores .bashrc for login shell.
RUN /bin/bash -l -c "echo '. /etc/profile.d/rvm.sh' >> ~/.profile"

RUN /bin/bash -l -c 'gem install --update bundler'
9 changes: 7 additions & 2 deletions tools/dockerfile/distribtest/ruby_ubuntu1204_x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@

FROM ubuntu:12.04

RUN apt-get update -y && apt-get install -y ruby-full
RUN apt-get update -y && apt-get install -y curl

RUN gem install bundler
# Install rvm
RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
RUN \curl -sSL https://get.rvm.io | bash -s stable --ruby

RUN /bin/bash -l -c "echo '. /etc/profile.d/rvm.sh' >> ~/.bashrc"
RUN /bin/bash -l -c "gem install --update bundler"
9 changes: 7 additions & 2 deletions tools/dockerfile/distribtest/ruby_ubuntu1404_x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@

FROM ubuntu:14.04

RUN apt-get update -y && apt-get install -y ruby-full
RUN apt-get update -y && apt-get install -y curl

RUN gem install bundler
# Install rvm
RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
RUN \curl -sSL https://get.rvm.io | bash -s stable --ruby

RUN /bin/bash -l -c "echo '. /etc/profile.d/rvm.sh' >> ~/.bashrc"
RUN /bin/bash -l -c "gem install --update bundler"
11 changes: 9 additions & 2 deletions tools/dockerfile/distribtest/ruby_wheezy_x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@

FROM debian:wheezy

RUN apt-get update && apt-get install -y ruby-full
RUN apt-get update && apt-get install -y curl

RUN gem install bundler
RUN apt-get update && apt-get install -y procps

# Install rvm
RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
RUN \curl -sSL https://get.rvm.io | bash -s stable --ruby

RUN /bin/bash -l -c "echo '. /etc/profile.d/rvm.sh' >> ~/.bashrc"
RUN /bin/bash -l -c "gem install --update bundler"

0 comments on commit 367708a

Please sign in to comment.