|
|
|
@ -12,8 +12,7 @@ |
|
|
|
|
# See the License for the specific language governing permissions and |
|
|
|
|
# limitations under the License. |
|
|
|
|
|
|
|
|
|
FROM debian:jessie |
|
|
|
|
|
|
|
|
|
FROM debian:buster |
|
|
|
|
|
|
|
|
|
# Install Git and basic packages. |
|
|
|
|
RUN apt-get update && apt-get install -y \ |
|
|
|
@ -70,11 +69,12 @@ RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.5.2.post1 six==1.15.0 t |
|
|
|
|
# Ruby dependencies |
|
|
|
|
|
|
|
|
|
# Install rvm |
|
|
|
|
RUN apt-get update && apt-get install -y gnupg2 |
|
|
|
|
RUN apt-get update && apt-get install -y gnupg2 && apt-get clean |
|
|
|
|
RUN gpg2 --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB |
|
|
|
|
RUN \curl -sSL https://get.rvm.io | bash -s stable |
|
|
|
|
|
|
|
|
|
# Install Ruby 2.5 |
|
|
|
|
RUN apt-get update && apt-get install -y procps && apt-get clean |
|
|
|
|
RUN /bin/bash -l -c "rvm install ruby-2.5" |
|
|
|
|
RUN /bin/bash -l -c "rvm use --default ruby-2.5" |
|
|
|
|
RUN /bin/bash -l -c "echo 'gem: --no-document' > ~/.gemrc" |
|
|
|
@ -82,6 +82,12 @@ RUN /bin/bash -l -c "echo 'export PATH=/usr/local/rvm/bin:$PATH' >> ~/.bashrc" |
|
|
|
|
RUN /bin/bash -l -c "echo 'rvm --default use ruby-2.5' >> ~/.bashrc" |
|
|
|
|
RUN /bin/bash -l -c "gem install bundler --no-document -v 1.9" |
|
|
|
|
|
|
|
|
|
#================= |
|
|
|
|
# Install cmake |
|
|
|
|
# Note that this step should be only used for distributions that have new enough cmake to satisfy gRPC's cmake version requirement. |
|
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y cmake && apt-get clean |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RUN mkdir /var/local/jenkins |
|
|
|
|
|
|
|
|
|