mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
720 B
17 lines
720 B
10 months ago
|
#==================
|
||
|
# Ruby dependencies
|
||
|
|
||
|
# Install rvm
|
||
|
RUN apt-get update && apt-get install -y gnupg2 && apt-get clean
|
||
|
RUN gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
|
||
|
RUN \curl -sSL https://get.rvm.io | bash -s stable
|
||
|
|
||
|
# Install Ruby 3.1
|
||
|
RUN apt-get update && apt-get install -y procps && apt-get clean
|
||
|
RUN /bin/bash -l -c "rvm install ruby-3.1.3"
|
||
|
RUN /bin/bash -l -c "rvm use --default ruby-3.1.3"
|
||
|
RUN /bin/bash -l -c "echo 'gem: --no-document' > ~/.gemrc"
|
||
|
RUN /bin/bash -l -c "echo 'export PATH=/usr/local/rvm/bin:$PATH' >> ~/.bashrc"
|
||
|
RUN /bin/bash -l -c "echo 'rvm --default use ruby-3.1.3' >> ~/.bashrc"
|
||
|
RUN /bin/bash -l -c "gem install bundler --no-document"
|