diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2015-10-15 13:52:16 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2015-10-15 13:52:16 -0700 |
commit | 0c05dcd6bd22398f7cb6689dab2188c7d580657b (patch) | |
tree | 0ac925078aa9400b37f4f99adb6c15080c108f17 /tools/dockerfile/grpc_ruby_base | |
parent | 665fbecca5b4d41a14783a101873effbd037573b (diff) |
cleanup dockerfiles and scripts for old interop infrastructure
Diffstat (limited to 'tools/dockerfile/grpc_ruby_base')
-rw-r--r-- | tools/dockerfile/grpc_ruby_base/Dockerfile | 92 | ||||
-rw-r--r-- | tools/dockerfile/grpc_ruby_base/README.md | 9 |
2 files changed, 0 insertions, 101 deletions
diff --git a/tools/dockerfile/grpc_ruby_base/Dockerfile b/tools/dockerfile/grpc_ruby_base/Dockerfile deleted file mode 100644 index d58eeaaf70..0000000000 --- a/tools/dockerfile/grpc_ruby_base/Dockerfile +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 2015, Google Inc. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following disclaimer -# in the documentation and/or other materials provided with the -# distribution. -# * Neither the name of Google Inc. nor the names of its -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Base Dockerfile for gRPC Ruby. -# -# Includes Ruby installation dependencies, things that are unlikely to vary. -FROM grpc/base - -# Allows 'source' to work -RUN rm /bin/sh && ln -s /bin/bash /bin/sh - -# Install RVM dependencies -RUN apt-get update && apt-get install -y \ - autoconf \ - automake \ - bison \ - curl \ - g++ \ - gawk \ - gcc \ - libc6-dev \ - libffi-dev \ - libgdbm-dev \ - libncurses5-dev \ - libreadline6-dev \ - libsqlite3-dev \ - libssl-dev \ - libtool \ - libyaml-dev \ - make \ - patch \ - pkg-config \ - procps \ - sqlite3 \ - zlib1g-dev - -# Install RVM, use this to install ruby -RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3 # Needed for RVM -RUN /bin/bash -l -c "curl -L get.rvm.io | bash -s stable" - -# Install Ruby 2.1 -RUN /bin/bash -l -c "rvm install ruby-2.1" -RUN /bin/bash -l -c "rvm use --default ruby-2.1" -RUN /bin/bash -l -c "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc" -RUN /bin/bash -l -c "echo 'rvm --default use ruby-2.1' >> ~/.bashrc" -RUN /bin/bash -l -c "gem install bundler --no-ri --no-rdoc" - -# Get the source from GitHub -RUN git clone https://github.com/grpc/grpc.git /var/local/git/grpc -RUN cd /var/local/git/grpc && \ - git pull --recurse-submodules && \ - git submodule update --init --recursive - -# Build and install the protobuf library -RUN cd /var/local/git/grpc/third_party/protobuf && \ - ./autogen.sh && \ - ./configure --prefix=/usr && \ - make -j12 && make check && make install && make clean - -# TODO: pre-building seems unnecessary, because we need to run make clean -# anyway to prevent build from crashing if header files are added/removed. -# Build the C core -RUN make static_c shared_c -j12 -C /var/local/git/grpc - -# Define the default command. -CMD ["bash"] diff --git a/tools/dockerfile/grpc_ruby_base/README.md b/tools/dockerfile/grpc_ruby_base/README.md deleted file mode 100644 index acf1e50dbe..0000000000 --- a/tools/dockerfile/grpc_ruby_base/README.md +++ /dev/null @@ -1,9 +0,0 @@ -GRPC RUBY Base Dockerfile -======================== - -Dockerfile for creating the Ruby gRPC development Docker instance. - -As of 2014/10 this -- it installs tools and dependencies needed to build gRPC Ruby -- it does not install gRPC Ruby itself; a separate Dockerfile that depends on - this one will do that |