[
  {
    "path": ".gitignore",
    "content": "*~\n.idea\n*.iml"
  },
  {
    "path": "0.10/cxx/Dockerfile",
    "content": "# Copyright 2015, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nFROM buildpack-deps:jessie\n\nRUN apt-get update && apt-get install -y \\\n  autoconf \\\n  autotools-dev \\\n  build-essential \\\n  curl \\\n  gcc \\\n  git \\\n  libc6-dbg \\\n  libc6-dev \\\n  libgtest-dev \\\n  libgflags-dev \\\n  libtool \\\n  make \\\n  unzip && apt-get clean\n\nENV GRPC_RELEASE_TAG release-0_10_2\n\nRUN git clone https://github.com/grpc/grpc.git /var/local/git/grpc\nRUN cd /var/local/git/grpc && \\\n  git checkout tags/${GRPC_RELEASE_TAG} && \\\n  git submodule update --init --recursive\n\nRUN cd /var/local/git/grpc/third_party/protobuf && \\\n  ./autogen.sh && \\\n  ./configure --prefix=/usr && \\\n  make -j12 && make check && make install && make clean\n\nRUN cd /var/local/git/grpc && make install\n"
  },
  {
    "path": "0.10/cxx/README.md",
    "content": "# gRPC C++ Docker image\n\nThis is the official docker image for the C++ installation of [grpc][].  For an\noverview and usage examples, see the [grpc C++ documentation][].\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official [gRPC documentation][].\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc C++ documentation]:http://www.grpc.io/docs/tutorials/basic/c.html\n"
  },
  {
    "path": "0.10/golang/Dockerfile",
    "content": "# Copyright 2015, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n# Dockerfile for gRPC Go\nFROM golang:1.4\n\n# NOTE: for now, this docker image always builds the current HEAD version of\n# gRPC.  After gRPC's beta release, the Dockerfile versions will be updated to\n# build a specific version.\n\n# Get the source from GitHub\nRUN go get google.golang.org/grpc\n"
  },
  {
    "path": "0.10/golang/README.md",
    "content": "# gRPC Go Docker image\n======================\n\nThis is the official docker image for grpc Go.  For an overview and usage\nexamples, see the grpc Go documentation.\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official gRPC documentation.\n"
  },
  {
    "path": "0.10/node/Dockerfile",
    "content": "# Copyright 2015, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nFROM node:0.12.7\n\nRUN echo \"deb http://ftp.us.debian.org/debian jessie-backports main\" | tee -a /etc/apt/sources.list\n\nENV GRPC_VERSION 0.10.2-1~bpo8+1\nENV GRPC_NODE_VERSION 0.10.1\n\nRUN apt-get update && apt-get install -y -q libgrpc-dev=${GRPC_VERSION}\n\nRUN npm install -g grpc@${GRPC_NODE_VERSION}\n"
  },
  {
    "path": "0.10/node/README.md",
    "content": "# gRPC Node.js Docker image\n\nThis is the official docker image for the Node.js library of grpc.  For an\noverview and usage examples, see the grpc nodejs documentation.\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official gRPC documentation.\n\n# How to use this image\n\n## Create a `Dockerfile` in your gRPC Node.js app project\n\n```dockerfile\nFROM grpc/node:0.10-onbuild\n# replace this with your application's default port\nEXPOSE 8888\n```\n\nYou can then build and run the Docker image:\n\n```console\n$ docker build -t my-grpc-nodejs-client-or-server .\n$ docker run -it --rm --name my-running-app my-grpc-nodejs-client-or-server\n```\n\n## Notes\n\nThe image assumes that your application has a file named `package.json` listing\nits dependencies and defining its start script\n\n## Run a single Node.js script\n\nFor many simple, single file projects, you may find it inconvenient to write a\n`complete `Dockerfile`. In such cases, you can run a Node.js script by using the\nNode.js Docker image directly:\n\n```console\n$ docker run -it --rm --name my-running-script -v \"$PWD\":/usr/src/myapp -w /usr/src/myapp grpc/node:0.10 node your-grpc-client-or-server.js\n```\n\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc nodejs documentation]:http://www.grpc.io/docs/tutorials/basic/node.html\n"
  },
  {
    "path": "0.10/node/onbuild/Dockerfile",
    "content": "FROM grpc/node:0.10\n\nRUN mkdir -p /usr/src/app\nWORKDIR /usr/src/app\n\nONBUILD COPY package.json /usr/src/app/\nONBUILD RUN npm install\nONBUILD COPY . /usr/src/app\n\nCMD [ \"npm\", \"start\" ]\n"
  },
  {
    "path": "0.10/php/Dockerfile",
    "content": "# Copyright 2015, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nFROM php:5.5\n\nRUN echo \"deb http://ftp.us.debian.org/debian jessie-backports main\" | tee -a /etc/apt/sources.list\n\nENV GRPC_VERSION 0.10.2-1~bpo8+1\n\nRUN apt-get update && apt-get install -y -q php5 php5-dev phpunit php-pear libgrpc-dev=${GRPC_VERSION}\n\nRUN pecl install grpc-alpha\n"
  },
  {
    "path": "0.10/php/README.md",
    "content": "# gRPC PHP Docker image\n\nThis is the official docker image for the PHP library of [grpc][].  For an\noverview and usage examples, see the [grpc php documentation][].\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official [gRPC documentation][].\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc php documentation]:http://www.grpc.io/docs/tutorials/basic/php.html\n"
  },
  {
    "path": "0.10/python/Dockerfile",
    "content": "# Copyright 2015, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nFROM python:2.7.10\n\nRUN echo \"deb http://ftp.us.debian.org/debian jessie-backports main\" | tee -a /etc/apt/sources.list\n\nENV GRPC_VERSION 0.10.2-1~bpo8+1\nENV GRPC_PYTHON_VERSION 0.10.0a0\n\nRUN apt-get update && apt-get install -y -q libgrpc-dev=${GRPC_VERSION}\n\nRUN pip install grpcio==${GRPC_PYTHON_VERSION}\n"
  },
  {
    "path": "0.10/python/README.md",
    "content": "# gRPC Python Docker image\n\nThis is the official docker image for the Python facility of grpc.  For an\noverview and usage examples, see the grpc python documentation.\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official gRPC documentation.\n\n\n# How to use this image\n\n## Create a `Dockerfile` in your Python app project\n\n\n```dockerfile\nFROM grpc/python:0.10-onbuild\nCMD [ \"python\", \"./your-daemon-or-script.py\" ]\n```\n\nThese images include multiple `ONBUILD` triggers, which should be all you need\nto bootstrap most applications. The build will `COPY` a `requirements.txt` file,\n`RUN pip install` on said file, and then copy the current directory into\n`/usr/src/app`.\n\nYou can then build and run the Docker image:\n\n```console\n$ docker build -t my-grpc-python-client-or-server .\n$ docker run -it --rm --name my-running-app my-grpc-python-client-or-server\n```\n\n## Run a single Python script\n\nFor many simple, single file projects, you may find it inconvenient to write a\ncomplete `Dockerfile`. In such cases, you can run a Python script by using the\nPython Docker image directly:\n\n\n```console\n$ docker run -it --rm --name my-running-script -v \"$PWD\":/usr/src/myapp -w /usr/src/myapp grpc/python:0.10 python your-grpc-python-client-or-server.py\n```\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc python documentation]:http://www.grpc.io/docs/tutorials/basic/python.html\n"
  },
  {
    "path": "0.10/python/onbuild/Dockerfile",
    "content": "FROM grpc/python:0.10\n\nRUN mkdir -p /usr/src/app\nWORKDIR /usr/src/app\n\nONBUILD COPY requirements.txt /usr/src/app/\nONBUILD RUN pip install --no-cache-dir -r requirements.txt\n\nONBUILD COPY . /usr/src/app"
  },
  {
    "path": "0.10/ruby/Dockerfile",
    "content": "# Copyright 2015, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nFROM ruby:2.2\n\nRUN echo \"deb http://ftp.us.debian.org/debian jessie-backports main\" | tee -a /etc/apt/sources.list\n\nENV GRPC_VERSION 0.10.2-1~bpo8+1\nENV GRPC_RUBY_VERSION 0.10.0\n\nRUN apt-get update && apt-get install -y -q libgrpc-dev=${GRPC_VERSION}\n\nRUN gem install grpc -v ${GRPC_RUBY_VERSION}\n"
  },
  {
    "path": "0.10/ruby/README.md",
    "content": "# gRPC Ruby Docker image\n\nThis is the official docker image for the Ruby library of grpc.  For an\noverview and usage examples, see the grpc ruby documentation.\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official gRPC documentation.\n\n# How to use this image\n\n## Create a `Dockerfile` in your gRPC Ruby app project\n\n```dockerfile\nFROM grpc/ruby:0.10-onbuild\nCMD [\"./your-client-or-server.rb\"]\n```\n\nPut this file in the root of your app, next to the `Gemfile`.\n\nThis image includes multiple `ONBUILD` triggers which should be all you need to\nbootstrap most gRPC Ruby applications. The build will `COPY . /usr/src/app` and\n`RUN bundle install`.\n\nYou can then build and run the Ruby image:\n\n```console\n$ docker build -t my-ruby-app .\n$ docker run -it --name my-running-script my-ruby-app\n```\n\n### Generate a `Gemfile.lock`\n\nThe `onbuild` tag expects a `Gemfile.lock` in your app directory. This `docker\nrun` will help you generate one. Run it in the root of your app, next to the\n`Gemfile`:\n\n\n```console\n$ docker run --rm -v \"$PWD\":/usr/src/app -w /usr/src/app grpc/ruby:0.10 bundle install\n```\n\n## Run a single Ruby script\n\nFor many simple, single file projects, you may find it inconvenient to write a\ncomplete `Dockerfile`. In such cases, you can run a gRPC Ruby app by using the\ngRPC Ruby Docker image directly:\n\n\n```console\n$ docker run -it --rm --name my-running-script -v \"$PWD\":/usr/src/myapp -w /usr/src/myapp grpc/ruby:0.10 ruby your-grpc-client-or-server.rb\n```\n\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc ruby documentation]:http://www.grpc.io/docs/tutorials/basic/ruby.html\n"
  },
  {
    "path": "0.10/ruby/onbuild/Dockerfile",
    "content": "FROM grpc/ruby:0.10\n\n# throw errors if Gemfile has been modified since Gemfile.lock\nRUN bundle config --global frozen 1\n\nRUN mkdir -p /usr/src/app\nWORKDIR /usr/src/app\n\nONBUILD COPY Gemfile /usr/src/app/\nONBUILD COPY Gemfile.lock /usr/src/app/\nONBUILD RUN bundle install\n\nONBUILD COPY . /usr/src/app\n"
  },
  {
    "path": "0.11/csharp/Dockerfile",
    "content": "# Copyright 2015, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nFROM debian:jessie\n\nRUN echo \"deb http://ftp.us.debian.org/debian jessie-backports main\" | tee -a /etc/apt/sources.list\n\n# Install latest version of mono based on instructions from\n# http://www.mono-project.com/docs/getting-started/install/linux/\nRUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF\nRUN echo \"deb http://download.mono-project.com/repo/debian wheezy main\" | tee /etc/apt/sources.list.d/mono-xamarin.list\nRUN echo \"deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main\" | tee -a /etc/apt/sources.list.d/mono-xamarin.list\nRUN echo \"deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main\" | tee -a /etc/apt/sources.list.d/mono-xamarin.list\nRUN echo \"deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main\" | tee -a /etc/apt/sources.list.d/mono-xamarin.list\nRUN apt-get update && apt-get install -y mono-complete mono-devel nuget && apt-get clean\n\n# Install trusted root certificates needed to restore NuGet packages\nRUN mozroots --import --sync\n\nENV GRPC_RELEASE_TAG=0_11_0\nENV GRPC_VERSION=0.11.0.0-1\nENV GRPC_VERSION_BACKPORTS=${GRPC_VERSION}~bpo8+2\n\nRUN apt-get update && apt-get install -y -q wget libgrpc0=${GRPC_VERSION_BACKPORTS} && apt-get clean\n\n# Download and install C# native extension\nRUN cd /root && wget https://github.com/grpc/grpc/releases/download/release-${GRPC_RELEASE_TAG}/libgrpc-csharp-ext0_${GRPC_VERSION}_amd64.deb \\\n    && dpkg -i libgrpc-csharp-ext0_${GRPC_VERSION}_amd64.deb\n\n# Define the default command.\nCMD [\"bash\"]\n\n"
  },
  {
    "path": "0.11/csharp/README.md",
    "content": "# gRPC C# Docker image\n\nThis is the official docker image for the C# installation of gRPC. \n\n"
  },
  {
    "path": "0.11/cxx/Dockerfile",
    "content": "# Copyright 2015, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nFROM buildpack-deps:jessie\n\nRUN apt-get update && apt-get install -y \\\n  autoconf \\\n  autotools-dev \\\n  build-essential \\\n  curl \\\n  gcc \\\n  git \\\n  libc6-dbg \\\n  libc6-dev \\\n  libgtest-dev \\\n  libgflags-dev \\\n  libtool \\\n  make \\\n  unzip && apt-get clean\n\nENV GRPC_RELEASE_TAG release-0_11_0\n\nRUN git clone https://github.com/grpc/grpc.git /var/local/git/grpc\nRUN cd /var/local/git/grpc && \\\n  git checkout tags/${GRPC_RELEASE_TAG} && \\\n  git submodule update --init --recursive\n\nRUN cd /var/local/git/grpc/third_party/protobuf && \\\n  ./autogen.sh && \\\n  ./configure --prefix=/usr && \\\n  make -j12 && make check && make install && make clean\n\nRUN cd /var/local/git/grpc && make install\n"
  },
  {
    "path": "0.11/cxx/README.md",
    "content": "# gRPC C++ Docker image\n\nThis is the official docker image for the C++ installation of [grpc][].  For an\noverview and usage examples, see the [grpc C++ documentation][].\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official [gRPC documentation][].\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc C++ documentation]:http://www.grpc.io/docs/tutorials/basic/c.html\n"
  },
  {
    "path": "0.11/golang/Dockerfile",
    "content": "# Copyright 2015, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n# Dockerfile for gRPC Go\nFROM golang:1.5\n\n# install protobuf from source\nRUN apt-get update && \\\n    apt-get -y install git unzip build-essential autoconf libtool\nRUN git clone https://github.com/google/protobuf.git && \\\n    cd protobuf && \\\n    ./autogen.sh && \\\n    ./configure && \\\n    make && \\\n    make install && \\\n    ldconfig && \\\n    make clean && \\\n    cd .. && \\\n    rm -r protobuf\n\n# NOTE: for now, this docker image always builds the current HEAD version of\n# gRPC.  After gRPC's beta release, the Dockerfile versions will be updated to\n# build a specific version.\n\n# Get the source from GitHub\nRUN go get google.golang.org/grpc\n# Install protoc-gen-go\nRUN go get github.com/golang/protobuf/protoc-gen-go\n"
  },
  {
    "path": "0.11/golang/README.md",
    "content": "# gRPC Go Docker image\n======================\n\nThis is the official docker image for grpc Go.  For an overview and usage\nexamples, see the grpc Go documentation.\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official gRPC documentation.\n"
  },
  {
    "path": "0.11/node/Dockerfile",
    "content": "# Copyright 2015, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nFROM node:0.12.7\n\nRUN echo \"deb http://ftp.us.debian.org/debian jessie-backports main\" | tee -a /etc/apt/sources.list\n\nENV GRPC_VERSION 0.11.0.0-1~bpo8+2\nENV GRPC_NODE_VERSION 0.11.0\n\nRUN apt-get update && apt-get install -y -q libgrpc-dev=${GRPC_VERSION}\n\nRUN npm install -g grpc@${GRPC_NODE_VERSION}\n"
  },
  {
    "path": "0.11/node/README.md",
    "content": "# gRPC Node.js Docker image\n\nThis is the official docker image for the Node.js library of grpc.  For an\noverview and usage examples, see the grpc nodejs documentation.\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official gRPC documentation.\n\n# How to use this image\n\n## Create a `Dockerfile` in your gRPC Node.js app project\n\n```dockerfile\nFROM grpc/node:0.11-onbuild\n# replace this with your application's default port\nEXPOSE 8888\n```\n\nYou can then build and run the Docker image:\n\n```console\n$ docker build -t my-grpc-nodejs-client-or-server .\n$ docker run -it --rm --name my-running-app my-grpc-nodejs-client-or-server\n```\n\n## Notes\n\nThe image assumes that your application has a file named `package.json` listing\nits dependencies and defining its start script\n\n## Run a single Node.js script\n\nFor many simple, single file projects, you may find it inconvenient to write a\n`complete `Dockerfile`. In such cases, you can run a Node.js script by using the\nNode.js Docker image directly:\n\n```console\n$ docker run -it --rm --name my-running-script -v \"$PWD\":/usr/src/myapp -w /usr/src/myapp grpc/node:0.11 node your-grpc-client-or-server.js\n```\n\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc nodejs documentation]:http://www.grpc.io/docs/tutorials/basic/node.html\n"
  },
  {
    "path": "0.11/node/onbuild/Dockerfile",
    "content": "FROM grpc/node:0.11\n\nRUN mkdir -p /usr/src/app\nWORKDIR /usr/src/app\n\nONBUILD COPY package.json /usr/src/app/\nONBUILD RUN npm install\nONBUILD COPY . /usr/src/app\n\nCMD [ \"npm\", \"start\" ]\n"
  },
  {
    "path": "0.11/php/Dockerfile",
    "content": "# Copyright 2015, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\nFROM debian:jessie\n\nRUN apt-get update && apt-get install -y -q apache2 git php5 php5-dev \\\n  phpunit php-pear\n\nRUN cd /usr/local/bin && curl -sS https://getcomposer.org/installer | php\nRUN cd /usr/local/bin && mv composer.phar composer\n\nENV GRPC_VERSION 0.11.1-1~bpo8+1\nRUN echo \"deb http://ftp.us.debian.org/debian jessie-backports main\" | \\\n  tee -a /etc/apt/sources.list\nRUN apt-get update && apt-get install -y -q libgrpc-dev=${GRPC_VERSION}\n\nRUN pecl install grpc-beta\nRUN echo \"extension=grpc.so\" > /etc/php5/apache2/conf.d/30-grpc.ini\n"
  },
  {
    "path": "0.11/php/README.md",
    "content": "# gRPC PHP Docker image\n\nThis is the official docker image for the PHP library of [gRPC][].  For an\noverview and usage examples, see the [gRPC PHP documentation][].\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official [gRPC documentation][].\n\n# How to use this image\n\nAssume that you are building an app called `sample_app`\n\n```sh\n$ mkdir -p sample_app\n```\n\nYou will need the following files in the [`sample_app`](./sample_app) directory\n\n\nBuild a `Dockerfile` for your app, based on the gRPC PHP onbuild image.\n\n```dockerfile\nFROM grpc/php:0.11-onbuild\n\nCMD [\"apache2ctl\", \"-DFOREGROUND\"]\n```\n\nYou will need a `composer.json` file, similar to this\n\n```json\n{\n  \"require\": {\n    \"php\": \">=5.5.0\",\n    \"grpc/grpc\": \"dev-release-0_11\",\n    \"google/auth\": \"dev-master\",\n    \"datto/protobuf-php\": \"dev-master\"\n  },\n  \"repositories\": [\n    {\n      \"type\": \"vcs\",\n      \"url\": \"https://github.com/stanley-cheung/Protobuf-PHP\"\n    }\n  ]\n}\n```\n\nAssume that you have a service defined in a `helloworld.proto` file. Use\nthe `protoc-gen-php` tool to generate the client stub `helloworld.php` file.\n\n```sh\n$ protoc-gen-php -i sample_app/ -o sample_app/ helloworld.proto\n```\n\nBuild your client app: `client.php`\n\n```php\n<?php\n\nrequire 'vendor/autoload.php';\nrequire 'helloworld.php';\n\n$client = new helloworld\\GreeterClient('localhost:50051', []);\nvar_dump($client);\n```\n\nBuild the app's docker image\n\n```sh\n$ docker build -t grpc-php-client sample_app/\n```\n\nRun the docker image, which will start an Apache server\n\n```sh\n$ docker run -it --rm -p 9998:80 grpc-php-client\n```\n\nUse a browser to test your app: `localhost:9998/client.php`\n\n[gRPC]:http:/grpc.io\n[gRPC documentation]:http://www.grpc.io/docs/\n[gRPC PHP documentation]:http://www.grpc.io/docs/tutorials/basic/php.html\n"
  },
  {
    "path": "0.11/php/onbuild/Dockerfile",
    "content": "# Copyright 2015, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\nFROM grpc/php:0.11\n\nWORKDIR /var/www/html\n\nONBUILD COPY composer.json /var/www/html/\nONBUILD RUN composer install\n\nONBUILD COPY . /var/www/html\n"
  },
  {
    "path": "0.11/php/sample_app/Dockerfile",
    "content": "FROM grpc/php:0.11-onbuild\n\nCMD [\"apache2ctl\", \"-DFOREGROUND\"]\n"
  },
  {
    "path": "0.11/php/sample_app/client.php",
    "content": "<?php\n\nrequire 'vendor/autoload.php';\nrequire 'helloworld.php';\n\n$client = new helloworld\\GreeterClient('localhost:50051', []);\nvar_dump($client);\n"
  },
  {
    "path": "0.11/php/sample_app/composer.json",
    "content": "{\n  \"require\": {\n    \"php\": \">=5.5.0\",\n    \"grpc/grpc\": \"dev-release-0_11\",\n    \"google/auth\": \"dev-master\",\n    \"datto/protobuf-php\": \"dev-master\"\n  },\n  \"repositories\": [\n    {\n      \"type\": \"vcs\",\n      \"url\": \"https://github.com/stanley-cheung/Protobuf-PHP\"\n    }\n  ]\n}\n"
  },
  {
    "path": "0.11/php/sample_app/helloworld.php",
    "content": "<?php\n// DO NOT EDIT! Generated by Protobuf-PHP protoc plugin 1.0\n// Source: helloworld.proto\n//   Date: 2015-10-17 02:29:58\n\nnamespace helloworld {\n\n  class HelloRequest extends \\DrSlump\\Protobuf\\Message {\n\n    /**  @var string */\n    public $name = null;\n    \n\n    /** @var \\Closure[] */\n    protected static $__extensions = array();\n\n    public static function descriptor()\n    {\n      $descriptor = new \\DrSlump\\Protobuf\\Descriptor(__CLASS__, 'helloworld.HelloRequest');\n\n      // OPTIONAL STRING name = 1\n      $f = new \\DrSlump\\Protobuf\\Field();\n      $f->number    = 1;\n      $f->name      = \"name\";\n      $f->type      = \\DrSlump\\Protobuf::TYPE_STRING;\n      $f->rule      = \\DrSlump\\Protobuf::RULE_OPTIONAL;\n      $descriptor->addField($f);\n\n      foreach (self::$__extensions as $cb) {\n        $descriptor->addField($cb(), true);\n      }\n\n      return $descriptor;\n    }\n\n    /**\n     * Check if <name> has a value\n     *\n     * @return boolean\n     */\n    public function hasName(){\n      return $this->_has(1);\n    }\n    \n    /**\n     * Clear <name> value\n     *\n     * @return \\helloworld\\HelloRequest\n     */\n    public function clearName(){\n      return $this->_clear(1);\n    }\n    \n    /**\n     * Get <name> value\n     *\n     * @return string\n     */\n    public function getName(){\n      return $this->_get(1);\n    }\n    \n    /**\n     * Set <name> value\n     *\n     * @param string $value\n     * @return \\helloworld\\HelloRequest\n     */\n    public function setName( $value){\n      return $this->_set(1, $value);\n    }\n  }\n}\n\nnamespace helloworld {\n\n  class HelloReply extends \\DrSlump\\Protobuf\\Message {\n\n    /**  @var string */\n    public $message = null;\n    \n\n    /** @var \\Closure[] */\n    protected static $__extensions = array();\n\n    public static function descriptor()\n    {\n      $descriptor = new \\DrSlump\\Protobuf\\Descriptor(__CLASS__, 'helloworld.HelloReply');\n\n      // OPTIONAL STRING message = 1\n      $f = new \\DrSlump\\Protobuf\\Field();\n      $f->number    = 1;\n      $f->name      = \"message\";\n      $f->type      = \\DrSlump\\Protobuf::TYPE_STRING;\n      $f->rule      = \\DrSlump\\Protobuf::RULE_OPTIONAL;\n      $descriptor->addField($f);\n\n      foreach (self::$__extensions as $cb) {\n        $descriptor->addField($cb(), true);\n      }\n\n      return $descriptor;\n    }\n\n    /**\n     * Check if <message> has a value\n     *\n     * @return boolean\n     */\n    public function hasMessage(){\n      return $this->_has(1);\n    }\n    \n    /**\n     * Clear <message> value\n     *\n     * @return \\helloworld\\HelloReply\n     */\n    public function clearMessage(){\n      return $this->_clear(1);\n    }\n    \n    /**\n     * Get <message> value\n     *\n     * @return string\n     */\n    public function getMessage(){\n      return $this->_get(1);\n    }\n    \n    /**\n     * Set <message> value\n     *\n     * @param string $value\n     * @return \\helloworld\\HelloReply\n     */\n    public function setMessage( $value){\n      return $this->_set(1, $value);\n    }\n  }\n}\n\nnamespace helloworld {\n\n  class GreeterClient extends \\Grpc\\BaseStub {\n\n    public function __construct($hostname, $opts) {\n      parent::__construct($hostname, $opts);\n    }\n    /**\n     * @param helloworld\\HelloRequest $input\n     */\n    public function SayHello(\\helloworld\\HelloRequest $argument, $metadata = array(), $options = array()) {\n      return $this->_simpleRequest('/helloworld.Greeter/SayHello', $argument, '\\helloworld\\HelloReply::deserialize', $metadata, $options);\n    }\n  }\n}\n"
  },
  {
    "path": "0.11/php/sample_app/helloworld.proto",
    "content": "// Copyright 2015, Google Inc.\n// All rights reserved.\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n//     * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n//     * Redistributions in binary form must reproduce the above\n// copyright notice, this list of conditions and the following disclaimer\n// in the documentation and/or other materials provided with the\n// distribution.\n//     * Neither the name of Google Inc. nor the names of its\n// contributors may be used to endorse or promote products derived from\n// this software without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nsyntax = \"proto2\";\n\npackage helloworld;\n\n// The greeting service definition.\nservice Greeter {\n  // Sends a greeting\n  rpc SayHello (HelloRequest) returns (HelloReply) {}\n}\n\n// The request message containing the user's name.\nmessage HelloRequest {\n  optional string name = 1;\n}\n\n// The response message containing the greetings\nmessage HelloReply {\n  optional string message = 1;\n}\n"
  },
  {
    "path": "0.11/python/Dockerfile",
    "content": "# Copyright 2015, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nFROM python:2.7.10\n\nRUN echo \"deb http://ftp.us.debian.org/debian jessie-backports main\" | tee -a /etc/apt/sources.list\n\nENV GRPC_VERSION 0.11.0.0-1~bpo8+2\nENV GRPC_PYTHON_VERSION 0.11.0b1\n\nRUN apt-get update && apt-get install -y -q libgrpc-dev=${GRPC_VERSION}\n\nRUN pip install grpcio==${GRPC_PYTHON_VERSION}\n"
  },
  {
    "path": "0.11/python/README.md",
    "content": "# gRPC Python Docker image\n\nThis is the official docker image for the Python facility of grpc.  For an\noverview and usage examples, see the grpc python documentation.\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official gRPC documentation.\n\n\n# How to use this image\n\n## Create a `Dockerfile` in your Python app project\n\n\n```dockerfile\nFROM grpc/python:0.11-onbuild\nCMD [ \"python\", \"./your-daemon-or-script.py\" ]\n```\n\nThese images include multiple `ONBUILD` triggers, which should be all you need\nto bootstrap most applications. The build will `COPY` a `requirements.txt` file,\n`RUN pip install` on said file, and then copy the current directory into\n`/usr/src/app`.\n\nYou can then build and run the Docker image:\n\n```console\n$ docker build -t my-grpc-python-client-or-server .\n$ docker run -it --rm --name my-running-app my-grpc-python-client-or-server\n```\n\n## Run a single Python script\n\nFor many simple, single file projects, you may find it inconvenient to write a\ncomplete `Dockerfile`. In such cases, you can run a Python script by using the\nPython Docker image directly:\n\n\n```console\n$ docker run -it --rm --name my-running-script -v \"$PWD\":/usr/src/myapp -w /usr/src/myapp grpc/python:0.11 python your-grpc-python-client-or-server.py\n```\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc python documentation]:http://www.grpc.io/docs/tutorials/basic/python.html\n"
  },
  {
    "path": "0.11/python/onbuild/Dockerfile",
    "content": "FROM grpc/python:0.11\n\nRUN mkdir -p /usr/src/app\nWORKDIR /usr/src/app\n\nONBUILD COPY requirements.txt /usr/src/app/\nONBUILD RUN pip install --no-cache-dir -r requirements.txt\n\nONBUILD COPY . /usr/src/app\n"
  },
  {
    "path": "0.11/ruby/Dockerfile",
    "content": "# Copyright 2015, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nFROM ruby:2.2\n\nRUN echo \"deb http://ftp.us.debian.org/debian jessie-backports main\" | tee -a /etc/apt/sources.list\n\nENV GRPC_VERSION 0.11.0.0-1~bpo8+2\nENV GRPC_RUBY_VERSION 0.11.0\n\nRUN apt-get update && apt-get install -y -q libgrpc-dev=${GRPC_VERSION}\n\nRUN gem install grpc -v ${GRPC_RUBY_VERSION}\n"
  },
  {
    "path": "0.11/ruby/README.md",
    "content": "# gRPC Ruby Docker image\n\nThis is the official docker image for the Ruby library of grpc.  For an\noverview and usage examples, see the grpc ruby documentation.\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official gRPC documentation.\n\n# How to use this image\n\n## Create a `Dockerfile` in your gRPC Ruby app project\n\n```dockerfile\nFROM grpc/ruby:0.11-onbuild\nCMD [\"./your-client-or-server.rb\"]\n```\n\nPut this file in the root of your app, next to the `Gemfile`.\n\nThis image includes multiple `ONBUILD` triggers which should be all you need to\nbootstrap most gRPC Ruby applications. The build will `COPY . /usr/src/app` and\n`RUN bundle install`.\n\nYou can then build and run the Ruby image:\n\n```console\n$ docker build -t my-ruby-app .\n$ docker run -it --name my-running-script my-ruby-app\n```\n\n### Generate a `Gemfile.lock`\n\nThe `onbuild` tag expects a `Gemfile.lock` in your app directory. This `docker\nrun` will help you generate one. Run it in the root of your app, next to the\n`Gemfile`:\n\n\n```console\n$ docker run --rm -v \"$PWD\":/usr/src/app -w /usr/src/app grpc/ruby:0.11 bundle install\n```\n\n## Run a single Ruby script\n\nFor many simple, single file projects, you may find it inconvenient to write a\ncomplete `Dockerfile`. In such cases, you can run a gRPC Ruby app by using the\ngRPC Ruby Docker image directly:\n\n\n```console\n$ docker run -it --rm --name my-running-script -v \"$PWD\":/usr/src/myapp -w /usr/src/myapp grpc/ruby:0.11 ruby your-grpc-client-or-server.rb\n```\n\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc ruby documentation]:http://www.grpc.io/docs/tutorials/basic/ruby.html\n"
  },
  {
    "path": "0.11/ruby/onbuild/Dockerfile",
    "content": "FROM grpc/ruby:0.11\n\n# throw errors if Gemfile has been modified since Gemfile.lock\nRUN bundle config --global frozen 1\n\nRUN mkdir -p /usr/src/app\nWORKDIR /usr/src/app\n\nONBUILD COPY Gemfile /usr/src/app/\nONBUILD COPY Gemfile.lock /usr/src/app/\nONBUILD RUN bundle install\n\nONBUILD COPY . /usr/src/app\n"
  },
  {
    "path": "1.0/csharp/Dockerfile",
    "content": "# Copyright 2016, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nFROM mono:4\n\nENV GRPC_CSHARP_VERSION 1.0.0\n\n# update NuGet and install the tools\nRUN nuget update -self\nRUN cd /opt && nuget install Grpc.Tools -Version ${GRPC_CSHARP_VERSION} && chmod +x /opt/Grpc.Tools.${GRPC_CSHARP_VERSION}/tools/linux_x64/*\nENV PATH=\"/opt/Grpc.Tools.${GRPC_CSHARP_VERSION}/tools/linux_x64/:${PATH}\"\n"
  },
  {
    "path": "1.0/csharp/README.md",
    "content": "# gRPC C# Docker image\n\nThis is the official docker image for the C# installation of gRPC. \n\n"
  },
  {
    "path": "1.0/cxx/Dockerfile",
    "content": "# Copyright 2016, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nFROM debian:jessie\n\nRUN apt-get update && apt-get install -y \\\n  build-essential autoconf libtool \\\n  git \\\n  pkg-config \\\n  && apt-get clean\n\nENV GRPC_RELEASE_TAG v1.0.0\n\nRUN git clone -b ${GRPC_RELEASE_TAG} https://github.com/grpc/grpc /var/local/git/grpc\n\n# install grpc\nRUN cd /var/local/git/grpc && \\\n    git submodule update --init && \\\n    make && \\\n    make install && make clean\n\n#install protoc\nRUN cd /var/local/git/grpc/third_party/protobuf && \\\n    make && make install && make clean\n"
  },
  {
    "path": "1.0/cxx/README.md",
    "content": "# gRPC C++ Docker image\n\nThis is the official docker image for the C++ installation of [gRPC][].  For an\noverview and usage examples, see the [gRPC C++ documentation][].\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official [gRPC documentation][].\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc C++ documentation]:http://www.grpc.io/docs/tutorials/basic/c.html\n"
  },
  {
    "path": "1.0/golang/Dockerfile",
    "content": "# Copyright 2016, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n# Dockerfile for gRPC Go\nFROM golang:1.10\n\nRUN apt-get update && apt-get -y install unzip && apt-get clean\n\n# install protobuf\nENV PB_VER 3.6.0\nENV PB_URL https://github.com/google/protobuf/releases/download/v${PB_VER}/protoc-${PB_VER}-linux-x86_64.zip\nRUN mkdir -p /tmp/protoc && \\\n    curl -L ${PB_URL} > /tmp/protoc/protoc.zip && \\\n    cd /tmp/protoc && \\\n    unzip protoc.zip && \\\n    cp /tmp/protoc/bin/protoc /usr/local/bin && \\\n    cp -R /tmp/protoc/include/* /usr/local/include && \\\n    chmod go+rx /usr/local/bin/protoc && \\\n    cd /tmp && \\\n    rm -r /tmp/protoc\n\n# Get the source from GitHub\nRUN mkdir -p /tmp/grpc-go && \\\n    curl -L https://github.com/grpc/grpc-go/archive/v1.0.0.zip > /tmp/grpc-go/grpc-go.zip && \\\n    cd /tmp/grpc-go && \\\n    unzip grpc-go.zip && \\\n    mkdir -p /go/src/google.golang.org/grpc/ && \\\n    cp -r /tmp/grpc-go/grpc-go-1.0.0/* /go/src/google.golang.org/grpc/\n\n# Install protoc-gen-go\nRUN mkdir -p /tmp/protobuf && \\\n    curl -L https://github.com/golang/protobuf/archive/v1.1.0.zip > /tmp/protobuf/protobuf.zip && \\\n    cd /tmp/protobuf && \\\n    unzip protobuf.zip && \\\n    mkdir -p /go/src/github.com/golang/protobuf/ && \\\n    cp -r /tmp/protobuf/protobuf-1.1.0/* /go/src/github.com/golang/protobuf/ && \\\n    go install github.com/golang/protobuf/protoc-gen-go\n"
  },
  {
    "path": "1.0/golang/README.md",
    "content": "# gRPC Go Docker image\n======================\n\nThis is the official docker image for gRPC Go.  For an overview and usage\nexamples, see the gRPC Go documentation.\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official gRPC documentation.\n"
  },
  {
    "path": "1.0/node/Dockerfile",
    "content": "# Copyright 2016, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nFROM node:6.6\nENV GRPC_NODE_VERSION 1.0.0\nRUN npm install -g grpc@${GRPC_NODE_VERSION} grpc-tools@${GRPC_NODE_VERSION}\n"
  },
  {
    "path": "1.0/node/README.md",
    "content": "# gRPC Node.js Docker image\n\nThis is the official docker image for the Node.js library of gRPC.  For an\noverview and usage examples, see the gRPC Node.js documentation.\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official gRPC documentation.\n\n# How to use this image\n\n## Create a `Dockerfile` in your gRPC Node.js app project\n\n```dockerfile\nFROM grpc/node:1.0-onbuild\n# replace this with your application's default port\nEXPOSE 8888\n```\n\nYou can then build and run the Docker image:\n\n```console\n$ docker build -t my-grpc-nodejs-client-or-server .\n$ docker run -it --rm --name my-running-app my-grpc-nodejs-client-or-server\n```\n\n## Notes\n\nThe image assumes that your application has a file named `package.json` listing\nits dependencies and defining its start script\n\n## Run a single Node.js script\n\nFor many simple, single file projects, you may find it inconvenient to write a\n`complete `Dockerfile`. In such cases, you can run a Node.js script by using the\nNode.js Docker image directly:\n\n```console\n$ docker run -it --rm --name my-running-script -v \"$PWD\":/usr/src/myapp -w /usr/src/myapp grpc/node:0.11 node your-grpc-client-or-server.js\n```\n\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc nodejs documentation]:http://www.grpc.io/docs/tutorials/basic/node.html\n"
  },
  {
    "path": "1.0/node/onbuild/Dockerfile",
    "content": "FROM grpc/node:1.0\n\nRUN mkdir -p /usr/src/app\nWORKDIR /usr/src/app\n\nONBUILD COPY package.json /usr/src/app/\nONBUILD RUN npm install\nONBUILD COPY . /usr/src/app\n\nCMD [ \"npm\", \"start\" ]\n"
  },
  {
    "path": "1.0/php/Dockerfile",
    "content": "# Copyright 2016, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\nFROM php:7-apache\n\nRUN apt-get update && apt-get install -y -q git rake ruby-ronn zlib1g-dev && apt-get clean\n\n# install composer\nRUN cd /usr/local/bin && curl -sS https://getcomposer.org/installer | php\nRUN cd /usr/local/bin && mv composer.phar composer\n\nRUN pecl install grpc\n\n#install protoc\nRUN mkdir -p /tmp/protoc && \\\n    curl -L https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip > /tmp/protoc/protoc.zip && \\\n    cd /tmp/protoc && \\\n    unzip protoc.zip && \\\n    cp /tmp/protoc/bin/protoc /usr/local/bin && \\\n    cd /tmp && \\\n    rm -r /tmp/protoc && \\\n    docker-php-ext-enable grpc\n"
  },
  {
    "path": "1.0/php/README.md",
    "content": "# gRPC PHP Docker image\n\nThis is the official docker image for the PHP library of [gRPC][].  For an\noverview and usage examples, see the [gRPC PHP documentation][].\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official [gRPC documentation][].\n\n# How to use this image\n\nAssume that you are building an app called `sample_app`\n\n```sh\n$ mkdir -p sample_app\n```\n\nYou will need the following files in the [`sample_app`](./sample_app) directory\n\n\nBuild a `Dockerfile` for your app, based on the gRPC PHP onbuild image.\n\n```dockerfile\nFROM grpc/php:1.0-onbuild\n\nCMD [\"apache2ctl\", \"-DFOREGROUND\"]\n```\n\nYou will need a `composer.json` file, similar to this\n\n```json\n{\n  \"name\": \"grpc/grpc-demo\",\n  \"description\": \"gRPC example for PHP\",\n  \"require\": {\n    \"grpc/grpc\": \"v1.0.0\"\n  }\n}\n```\n\nAssume that you have a service defined in a `helloworld.proto` file. Use\nthe `protoc-gen-php` tool to generate the client stub `helloworld.php` file.\n\n```sh\n$ protoc-gen-php -i sample_app/ -o sample_app/ helloworld.proto\n```\n\nBuild your client app: `client.php`\n\n```php\n<?php\n\nrequire 'vendor/autoload.php';\nrequire 'helloworld.php';\n\n$client = new helloworld\\GreeterClient('localhost:50051', []);\nvar_dump($client);\n```\n\nBuild the app's docker image\n\n```sh\n$ docker build -t grpc-php-client sample_app/\n```\n\nRun the docker image, which will start an Apache server\n\n```sh\n$ docker run -it --rm -p 9998:80 grpc-php-client\n```\n\nUse a browser to test your app: `localhost:9998/client.php`\n\n[gRPC]:http:/grpc.io\n[gRPC documentation]:http://www.grpc.io/docs/\n[gRPC PHP documentation]:http://www.grpc.io/docs/tutorials/basic/php.html\n"
  },
  {
    "path": "1.0/php/onbuild/Dockerfile",
    "content": "# Copyright 2016, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\nFROM grpc/php:1.0\n\nWORKDIR /var/www/html\n\nONBUILD COPY composer.json /var/www/html/\nONBUILD RUN composer install\n\nONBUILD COPY . /var/www/html\n"
  },
  {
    "path": "1.0/php/sample_app/Dockerfile",
    "content": "FROM grpc/php:1.0-onbuild\n\nCMD [\"apache2ctl\", \"-DFOREGROUND\"]\n"
  },
  {
    "path": "1.0/php/sample_app/Helloworld/GreeterClient.php",
    "content": "<?php\n// GENERATED CODE -- DO NOT EDIT!\n\n// Original file comments:\n// Copyright 2016, Google Inc.\n// All rights reserved.\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n//     * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n//     * Redistributions in binary form must reproduce the above\n// copyright notice, this list of conditions and the following disclaimer\n// in the documentation and/or other materials provided with the\n// distribution.\n//     * Neither the name of Google Inc. nor the names of its\n// contributors may be used to endorse or promote products derived from\n// this software without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n//\nnamespace Helloworld {\n\n  // The greeting service definition.\n  class GreeterClient extends \\Grpc\\BaseStub {\n\n    /**\n     * @param string $hostname hostname\n     * @param array $opts channel options\n     * @param \\Grpc\\Channel $channel (optional) re-use channel object\n     */\n    public function __construct($hostname, $opts, $channel = null) {\n      parent::__construct($hostname, $opts, $channel);\n    }\n\n    /**\n     * Sends a greeting\n     * @param \\Helloworld\\HelloRequest $argument input argument\n     * @param array $metadata metadata\n     * @param array $options call options\n     */\n    public function SayHello(\\Helloworld\\HelloRequest $argument,\n      $metadata = [], $options = []) {\n      return $this->_simpleRequest('/helloworld.Greeter/SayHello',\n      $argument,\n      ['\\Helloworld\\HelloReply', 'decode'],\n      $metadata, $options);\n    }\n\n  }\n\n}\n"
  },
  {
    "path": "1.0/php/sample_app/client.php",
    "content": "<?php\n\nrequire 'vendor/autoload.php';\nrequire 'Helloworld/GreeterClient.php';\nrequire 'helloworld.pb.php';\n\n\n$client = new \\Helloworld\\GreeterClient('localhost:50051', [\n\t'credentials' => Grpc\\ChannelCredentials::createInsecure(),\n]);\n\n$req = new \\Helloworld\\HelloRequest();\n$req->setName('gRPC World');\n\n$resp = $client->SayHello($req);\nlist($resp, $status) = $client->SayHello($req)->wait();\n\nvar_dump($resp->getMessage(), $status);\n"
  },
  {
    "path": "1.0/php/sample_app/composer.json",
    "content": "{\n  \"name\": \"grpc/grpc-demo\",\n  \"description\": \"gRPC example for PHP\",\n  \"require\": {\n    \"php\": \">=5.5.0\",\n    \"grpc/grpc\": \"v1.2.0\"\n  }\n}\n"
  },
  {
    "path": "1.0/php/sample_app/helloworld.pb.php",
    "content": "<?php\n# Generated by the protocol buffer compiler.  DO NOT EDIT!\n# source: helloworld.proto\n\nnamespace Helloworld;\n\nuse Google\\Protobuf\\Internal\\DescriptorPool;\nuse Google\\Protobuf\\Internal\\GPBType;\nuse Google\\Protobuf\\Internal\\RepeatedField;\nuse Google\\Protobuf\\Internal\\GPBUtil;\n\nclass HelloRequest extends \\Google\\Protobuf\\Internal\\Message\n{\n    private $name = '';\n\n    public function getName()\n    {\n        return $this->name;\n    }\n\n    public function setName($var)\n    {\n        GPBUtil::checkString($var, True);\n        $this->name = $var;\n    }\n\n}\n\nclass HelloReply extends \\Google\\Protobuf\\Internal\\Message\n{\n    private $message = '';\n\n    public function getMessage()\n    {\n        return $this->message;\n    }\n\n    public function setMessage($var)\n    {\n        GPBUtil::checkString($var, True);\n        $this->message = $var;\n    }\n\n}\n\n$pool = DescriptorPool::getGeneratedPool();\n\n$pool->internalAddGeneratedFile(hex2bin(\n    \"0aae010a1068656c6c6f776f726c642e70726f746f120a68656c6c6f776f\" .\n    \"726c64221c0a0c48656c6c6f52657175657374120c0a046e616d65180120\" .\n    \"012809221d0a0a48656c6c6f5265706c79120f0a076d6573736167651801\" .\n    \"2001280932490a0747726565746572123e0a0853617948656c6c6f12182e\" .\n    \"68656c6c6f776f726c642e48656c6c6f526571756573741a162e68656c6c\" .\n    \"6f776f726c642e48656c6c6f5265706c792200620670726f746f33\"\n));\n\n"
  },
  {
    "path": "1.0/php/sample_app/helloworld.proto",
    "content": "// Copyright 2016, Google Inc.\n// All rights reserved.\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n//     * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n//     * Redistributions in binary form must reproduce the above\n// copyright notice, this list of conditions and the following disclaimer\n// in the documentation and/or other materials provided with the\n// distribution.\n//     * Neither the name of Google Inc. nor the names of its\n// contributors may be used to endorse or promote products derived from\n// this software without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nsyntax = \"proto3\";\n\npackage helloworld;\n\n// The greeting service definition.\nservice Greeter {\n  // Sends a greeting\n  rpc SayHello (HelloRequest) returns (HelloReply) {}\n}\n\n// The request message containing the user's name.\nmessage HelloRequest {\n  string name = 1;\n}\n\n// The response message containing the greetings\nmessage HelloReply {\n  string message = 1;\n}\n"
  },
  {
    "path": "1.0/python/Dockerfile",
    "content": "# Copyright 2016, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nFROM python:2.7\n\nENV GRPC_PYTHON_VERSION 1.0.0\nRUN python -m pip install --upgrade pip\nRUN pip install grpcio==${GRPC_PYTHON_VERSION} grpcio-tools==${GRPC_PYTHON_VERSION}\n"
  },
  {
    "path": "1.0/python/README.md",
    "content": "# gRPC Python Docker image\n\nThis is the official docker image for the Python facility of gRPC.  For an\noverview and usage examples, see the gRPC Python documentation.\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official gRPC documentation.\n\n\n# How to use this image\n\n## Create a `Dockerfile` in your Python app project\n\n\n```dockerfile\nFROM grpc/python:1.0-onbuild\nCMD [ \"python\", \"./your-daemon-or-script.py\" ]\n```\n\nThese images include multiple `ONBUILD` triggers, which should be all you need\nto bootstrap most applications. The build will `COPY` a `requirements.txt` file,\n`RUN pip install` on said file, and then copy the current directory into\n`/usr/src/app`.\n\nYou can then build and run the Docker image:\n\n```console\n$ docker build -t my-grpc-python-client-or-server .\n$ docker run -it --rm --name my-running-app my-grpc-python-client-or-server\n```\n\n## Run a single Python script\n\nFor many simple, single file projects, you may find it inconvenient to write a\ncomplete `Dockerfile`. In such cases, you can run a Python script by using the\nPython Docker image directly:\n\n\n```console\n$ docker run -it --rm --name my-running-script -v \"$PWD\":/usr/src/myapp -w /usr/src/myapp grpc/python:0.11 python your-grpc-python-client-or-server.py\n```\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc python documentation]:http://www.grpc.io/docs/tutorials/basic/python.html\n"
  },
  {
    "path": "1.0/python/onbuild/Dockerfile",
    "content": "FROM grpc/python:1.0\n\nRUN mkdir -p /usr/src/app\nWORKDIR /usr/src/app\n\nONBUILD COPY requirements.txt /usr/src/app/\nONBUILD RUN pip install --no-cache-dir -r requirements.txt\n\nONBUILD COPY . /usr/src/app\n"
  },
  {
    "path": "1.0/python/slim/Dockerfile",
    "content": "# Copyright 2018 The gRPC Authors\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nFROM python:2.7-slim\n\nENV GRPC_PYTHON_VERSION 1.0.0\nRUN python -m pip install --upgrade pip\nRUN pip install grpcio==${GRPC_PYTHON_VERSION} grpcio-tools==${GRPC_PYTHON_VERSION}\n"
  },
  {
    "path": "1.0/ruby/Dockerfile",
    "content": "# Copyright 2016, Google Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#     * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#     * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#     * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nFROM ruby:2\n\nENV GRPC_VERSION 1.0.0\nRUN gem install grpc:${GRPC_VERSION} grpc-tools:${GRPC_VERSION}\n"
  },
  {
    "path": "1.0/ruby/README.md",
    "content": "# gRPC Ruby Docker image\n\nThis is the official docker image for the Ruby library of gRPC.  For an\noverview and usage examples, see the gRPC ruby documentation.\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official gRPC documentation.\n\n# How to use this image\n\n## Create a `Dockerfile` in your gRPC Ruby app project\n\n```dockerfile\nFROM grpc/ruby:1.0-onbuild\nCMD [\"./your-client-or-server.rb\"]\n```\n\nPut this file in the root of your app, next to the `Gemfile`.\n\nThis image includes multiple `ONBUILD` triggers which should be all you need to\nbootstrap most gRPC Ruby applications. The build will `COPY . /usr/src/app` and\n`RUN bundle install`.\n\nYou can then build and run the Ruby image:\n\n```console\n$ docker build -t my-ruby-app .\n$ docker run -it --name my-running-script my-ruby-app\n```\n\n### Generate a `Gemfile.lock`\n\nThe `onbuild` tag expects a `Gemfile.lock` in your app directory. This `docker\nrun` will help you generate one. Run it in the root of your app, next to the\n`Gemfile`:\n\n\n```console\n$ docker run --rm -v \"$PWD\":/usr/src/app -w /usr/src/app grpc/ruby:0.11 bundle install\n```\n\n## Run a single Ruby script\n\nFor many simple, single file projects, you may find it inconvenient to write a\ncomplete `Dockerfile`. In such cases, you can run a gRPC Ruby app by using the\ngRPC Ruby Docker image directly:\n\n\n```console\n$ docker run -it --rm --name my-running-script -v \"$PWD\":/usr/src/myapp -w /usr/src/myapp grpc/ruby:0.11 ruby your-grpc-client-or-server.rb\n```\n\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc ruby documentation]:http://www.grpc.io/docs/tutorials/basic/ruby.html\n"
  },
  {
    "path": "1.0/ruby/onbuild/Dockerfile",
    "content": "FROM grpc/ruby:1.0\n\n# throw errors if Gemfile has been modified since Gemfile.lock\nRUN bundle config --global frozen 1\n\nRUN mkdir -p /usr/src/app\nWORKDIR /usr/src/app\n\nONBUILD COPY Gemfile /usr/src/app/\nONBUILD COPY Gemfile.lock /usr/src/app/\nONBUILD RUN bundle install\n\nONBUILD COPY . /usr/src/app\n"
  },
  {
    "path": "1.10/cxx/Dockerfile",
    "content": "# Copyright 2017 gRPC authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nFROM debian:stretch\n\nRUN apt-get update && apt-get install -y \\\n  build-essential autoconf git pkg-config \\\n  automake libtool curl make g++ unzip \\\n  && apt-get clean\n\n# install protobuf first, then grpc\nENV GRPC_RELEASE_TAG v1.10.x\nRUN git clone -b ${GRPC_RELEASE_TAG} https://github.com/grpc/grpc /var/local/git/grpc && \\\n\t\tcd /var/local/git/grpc && \\\n    git submodule update --init && \\\n    echo \"--- installing protobuf ---\" && \\\n    cd third_party/protobuf && \\\n    ./autogen.sh && ./configure --enable-shared && \\\n    make -j$(nproc) && make -j$(nproc) check && make install && make clean && ldconfig && \\\n    echo \"--- installing grpc ---\" && \\\n    cd /var/local/git/grpc && \\\n    make -j$(nproc) && make install && make clean && ldconfig\n"
  },
  {
    "path": "1.10/cxx/README.md",
    "content": "# gRPC C++ Docker image\n\nThis is the official docker image for the C++ installation of [gRPC][].  For an\noverview and usage examples, see the [gRPC C++ documentation][].\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official [gRPC documentation][].\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc C++ documentation]:http://www.grpc.io/docs/tutorials/basic/c.html\n"
  },
  {
    "path": "1.12.0/cxx/Dockerfile",
    "content": "# Copyright 2018 gRPC authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nFROM debian:stretch\n\nRUN apt-get update && apt-get install -y \\\n  build-essential autoconf libtool git pkg-config curl \\\n  automake libtool curl make g++ unzip \\\n  && apt-get clean\n\n# install protobuf first, then grpc\nENV GRPC_RELEASE_TAG v1.12.x\nRUN git clone -b ${GRPC_RELEASE_TAG} https://github.com/grpc/grpc /var/local/git/grpc && \\\n\t\tcd /var/local/git/grpc && \\\n    git submodule update --init && \\\n    echo \"--- installing protobuf ---\" && \\\n    cd third_party/protobuf && \\\n    ./autogen.sh && ./configure --enable-shared && \\\n    make -j$(nproc) && make -j$(nproc) check && make install && make clean && ldconfig && \\\n    echo \"--- installing grpc ---\" && \\\n    cd /var/local/git/grpc && \\\n    make -j$(nproc) && make install && make clean && ldconfig\n"
  },
  {
    "path": "1.12.0/cxx/README.md",
    "content": "# gRPC C++ Docker image\n\nThis is the official docker image for the C++ installation of [gRPC][].  For an\noverview and usage examples, see the [gRPC C++ documentation][].\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official [gRPC documentation][].\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc C++ documentation]:http://www.grpc.io/docs/tutorials/basic/c.html\n"
  },
  {
    "path": "1.13.0/python/Dockerfile",
    "content": "# Copyright 2018 The gRPC Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nFROM python:3.7\n\nENV GRPC_PYTHON_VERSION 1.13.0\nRUN python -m pip install --upgrade pip\nRUN pip install grpcio==${GRPC_PYTHON_VERSION} grpcio-tools==${GRPC_PYTHON_VERSION} grpcio-reflection==${GRPC_PYTHON_VERSION} grpcio-health-checking==${GRPC_PYTHON_VERSION} grpcio-testing==${GRPC_PYTHON_VERSION}\n"
  },
  {
    "path": "1.13.0/python/README.md",
    "content": "# gRPC Python Docker image\n\nThis is the official docker image for the Python facility of [gRPC][grpc].\nFor an overview and usage examples, see the \n[gRPC Python documentation][grpc python documentation].\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official [gRPC][grpc documentation] documentation.\n\n\n# How to use this image\n\n## Create a `Dockerfile` in your Python app project\n\n\n```dockerfile\nFROM grpc/python:1.13-onbuild\nCMD [ \"python\", \"./your-daemon-or-script.py\" ]\n```\n\nThese images include multiple `ONBUILD` triggers, which should be all you need\nto bootstrap most applications. The build will `COPY` a `requirements.txt` file,\n`RUN pip install` on said file, and then copy the current directory into\n`/usr/src/app`.\n\nYou can then build and run the Docker image:\n\n```console\n$ docker build -t my-grpc-python-client-or-server .\n$ docker run -it --rm --name my-running-app my-grpc-python-client-or-server\n```\n\n## Run a single Python script\n\nFor many simple, single file projects, you may find it inconvenient to write a\ncomplete `Dockerfile`. In such cases, you can run a Python script by using the\nPython Docker image directly:\n\n\n```console\n$ docker run -it --rm --name my-running-script -v \"$PWD\":/usr/src/myapp -w /usr/src/myapp grpc/python:1.13 python your-grpc-python-client-or-server.py\n```\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc python documentation]:http://www.grpc.io/docs/tutorials/basic/python.html\n"
  },
  {
    "path": "1.13.0/python/onbuild/Dockerfile",
    "content": "# Copyright 2018 The gRPC Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nFROM grpc/python:1.13\n\nRUN mkdir -p /usr/src/app\nWORKDIR /usr/src/app\n\nONBUILD COPY requirements.txt /usr/src/app/\nONBUILD RUN pip install --no-cache-dir -r requirements.txt\n\nONBUILD COPY . /usr/src/app\n"
  },
  {
    "path": "1.13.0/python/slim/Dockerfile",
    "content": "# Copyright 2018 The gRPC Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nFROM python:3.7-slim\n\nENV GRPC_PYTHON_VERSION 1.13.0\nRUN python -m pip install --upgrade pip\nRUN pip install grpcio==${GRPC_PYTHON_VERSION} grpcio-tools==${GRPC_PYTHON_VERSION} grpcio-reflection==${GRPC_PYTHON_VERSION} grpcio-health-checking==${GRPC_PYTHON_VERSION} grpcio-testing==${GRPC_PYTHON_VERSION}\n"
  },
  {
    "path": "1.15.0/python/Dockerfile",
    "content": "# Copyright 2018 The gRPC Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nFROM python:3.7\n\nENV GRPC_PYTHON_VERSION 1.15.0\nRUN python -m pip install --upgrade pip\nRUN pip install grpcio==${GRPC_PYTHON_VERSION} grpcio-tools==${GRPC_PYTHON_VERSION} grpcio-reflection==${GRPC_PYTHON_VERSION} grpcio-health-checking==${GRPC_PYTHON_VERSION} grpcio-testing==${GRPC_PYTHON_VERSION}\n"
  },
  {
    "path": "1.15.0/python/README.md",
    "content": "# gRPC Python Docker image\n\nThis is the official docker image for the Python facility of [gRPC][grpc].\nFor an overview and usage examples, see the \n[gRPC Python documentation][grpc python documentation].\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official [gRPC][grpc documentation] documentation.\n\n\n# How to use this image\n\n## Create a `Dockerfile` in your Python app project\n\n\n```dockerfile\nFROM grpc/python:1.15-onbuild\nCMD [ \"python\", \"./your-daemon-or-script.py\" ]\n```\n\nThese images include multiple `ONBUILD` triggers, which should be all you need\nto bootstrap most applications. The build will `COPY` a `requirements.txt` file,\n`RUN pip install` on said file, and then copy the current directory into\n`/usr/src/app`.\n\nYou can then build and run the Docker image:\n\n```console\n$ docker build -t my-grpc-python-client-or-server .\n$ docker run -it --rm --name my-running-app my-grpc-python-client-or-server\n```\n\n## Run a single Python script\n\nFor many simple, single file projects, you may find it inconvenient to write a\ncomplete `Dockerfile`. In such cases, you can run a Python script by using the\nPython Docker image directly:\n\n\n```console\n$ docker run -it --rm --name my-running-script -v \"$PWD\":/usr/src/myapp -w /usr/src/myapp grpc/python:1.15 python your-grpc-python-client-or-server.py\n```\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc python documentation]:http://www.grpc.io/docs/tutorials/basic/python.html\n"
  },
  {
    "path": "1.15.0/python/alpine/Dockerfile",
    "content": "# Copyright 2018 The gRPC Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\nFROM python:3.7-alpine as base\n\nFROM base as builder\nRUN apk add --update --no-cache \\\n    gcc \\\n    linux-headers \\\n    make \\\n    musl-dev \\\n    python-dev \\\n    g++\nENV GRPC_PYTHON_VERSION 1.15.0\nRUN python -m pip install --upgrade pip\nRUN pip install --install-option=\"--prefix=/install\" grpcio==${GRPC_PYTHON_VERSION} grpcio-tools==${GRPC_PYTHON_VERSION} grpcio-reflection==${GRPC_PYTHON_VERSION} grpcio-health-checking==${GRPC_PYTHON_VERSION} grpcio-testing==${GRPC_PYTHON_VERSION}\n\nFROM base\nENV GRPC_PYTHON_VERSION 1.15.0\nCOPY --from=builder /install /usr/local"
  },
  {
    "path": "1.15.0/python/onbuild/Dockerfile",
    "content": "# Copyright 2018 The gRPC Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nFROM grpc/python:1.15\n\nRUN mkdir -p /usr/src/app\nWORKDIR /usr/src/app\n\nONBUILD COPY requirements.txt /usr/src/app/\nONBUILD RUN pip install --no-cache-dir -r requirements.txt\n\nONBUILD COPY . /usr/src/app\n"
  },
  {
    "path": "1.15.0/python/slim/Dockerfile",
    "content": "# Copyright 2018 The gRPC Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nFROM python:3.7-slim\n\nENV GRPC_PYTHON_VERSION 1.15.0\nRUN python -m pip install --upgrade pip\nRUN pip install grpcio==${GRPC_PYTHON_VERSION} grpcio-tools==${GRPC_PYTHON_VERSION} grpcio-reflection==${GRPC_PYTHON_VERSION} grpcio-health-checking==${GRPC_PYTHON_VERSION} grpcio-testing==${GRPC_PYTHON_VERSION}\n"
  },
  {
    "path": "1.21.0/cxx/Dockerfile",
    "content": "# Copyright 2019 The gRPC Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nFROM debian:stretch\n\nRUN apt-get update && apt-get install -y \\\n  build-essential autoconf libtool git pkg-config curl \\\n  automake libtool curl make g++ unzip \\\n  && apt-get clean\n\n# install protobuf first, then grpc\nENV GRPC_RELEASE_TAG v1.21.x\nRUN git clone -b ${GRPC_RELEASE_TAG} https://github.com/grpc/grpc /var/local/git/grpc && \\\n    cd /var/local/git/grpc && \\\n    git submodule update --init && \\\n    echo \"--- installing protobuf ---\" && \\\n    cd third_party/protobuf && \\\n    git submodule update --init && \\\n    ./autogen.sh && ./configure --enable-shared && \\\n    make -j$(nproc) && make -j$(nproc) check && make install && make clean && ldconfig && \\\n    echo \"--- installing grpc ---\" && \\\n    cd /var/local/git/grpc && \\\n    make -j$(nproc) && make install && make clean && ldconfig && \\\n    rm -rf /var/local/git/grpc\n"
  },
  {
    "path": "1.21.0/cxx/README.md",
    "content": "# gRPC C++ Docker image\n\nThis is the official docker image for the C++ installation of [gRPC][].  For an\noverview and usage examples, see the [gRPC C++ documentation][].\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official [gRPC documentation][].\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc C++ documentation]:http://www.grpc.io/docs/tutorials/basic/c.html\n"
  },
  {
    "path": "1.4/python/Dockerfile",
    "content": "# Copyright 2018 The gRPC Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nFROM python:3.6\n\nENV GRPC_PYTHON_VERSION 1.4.0\nRUN python -m pip install --upgrade pip\nRUN pip install grpcio==${GRPC_PYTHON_VERSION} grpcio-tools==${GRPC_PYTHON_VERSION}\n"
  },
  {
    "path": "1.4/python/README.md",
    "content": "# gRPC Python Docker image\n\nThis is the official docker image for the Python facility of [gRPC][grpc].\nFor an overview and usage examples, see the \n[gRPC Python documentation][grpc python documentation].\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official [gRPC][grpc documentation] documentation.\n\n\n# How to use this image\n\n## Create a `Dockerfile` in your Python app project\n\n\n```dockerfile\nFROM grpc/python:1.4-onbuild\nCMD [ \"python\", \"./your-daemon-or-script.py\" ]\n```\n\nThese images include multiple `ONBUILD` triggers, which should be all you need\nto bootstrap most applications. The build will `COPY` a `requirements.txt` file,\n`RUN pip install` on said file, and then copy the current directory into\n`/usr/src/app`.\n\nYou can then build and run the Docker image:\n\n```console\n$ docker build -t my-grpc-python-client-or-server .\n$ docker run -it --rm --name my-running-app my-grpc-python-client-or-server\n```\n\n## Run a single Python script\n\nFor many simple, single file projects, you may find it inconvenient to write a\ncomplete `Dockerfile`. In such cases, you can run a Python script by using the\nPython Docker image directly:\n\n\n```console\n$ docker run -it --rm --name my-running-script -v \"$PWD\":/usr/src/myapp -w /usr/src/myapp grpc/python:1.4 python your-grpc-python-client-or-server.py\n```\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc python documentation]:http://www.grpc.io/docs/tutorials/basic/python.html\n"
  },
  {
    "path": "1.4/python/onbuild/Dockerfile",
    "content": "# Copyright 2017 gRPC authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nFROM grpc/python:1.4\n\nRUN mkdir -p /usr/src/app\nWORKDIR /usr/src/app\n\nONBUILD COPY requirements.txt /usr/src/app/\nONBUILD RUN pip install --no-cache-dir -r requirements.txt\n\nONBUILD COPY . /usr/src/app\n"
  },
  {
    "path": "1.4/python/slim/Dockerfile",
    "content": "# Copyright 2018 The gRPC Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nFROM python:3.6-slim\n\nENV GRPC_PYTHON_VERSION 1.4.0\nRUN python -m pip install --upgrade pip\nRUN pip install grpcio==${GRPC_PYTHON_VERSION} grpcio-tools==${GRPC_PYTHON_VERSION}\n"
  },
  {
    "path": "1.8/cxx/Dockerfile",
    "content": "# Copyright 2017 gRPC authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nFROM debian:stretch\n\nRUN apt-get update && apt-get install -y \\\n  build-essential autoconf git pkg-config \\\n  automake libtool curl make g++ unzip \\\n  && apt-get clean\n\n# install protobuf first, then grpc\nENV GRPC_RELEASE_TAG v1.8.x\nRUN git clone -b ${GRPC_RELEASE_TAG} https://github.com/grpc/grpc /var/local/git/grpc && \\\n\t\tcd /var/local/git/grpc && \\\n    git submodule update --init && \\\n    echo \"--- installing protobuf ---\" && \\\n    cd third_party/protobuf && \\\n    ./autogen.sh && ./configure --enable-shared && \\\n    make -j$(nproc) && make -j$(nproc) check && make install && make clean && ldconfig && \\\n    echo \"--- installing grpc ---\" && \\\n    cd /var/local/git/grpc && \\\n    make -j$(nproc) && make install && make clean && ldconfig\n"
  },
  {
    "path": "1.8/cxx/README.md",
    "content": "# gRPC C++ Docker image\n\nThis is the official docker image for the C++ installation of [gRPC][].  For an\noverview and usage examples, see the [gRPC C++ documentation][].\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official [gRPC documentation][].\n\n[grpc]:http:/grpc.io\n[grpc documentation]:http://www.grpc.io/docs/\n[grpc C++ documentation]:http://www.grpc.io/docs/tutorials/basic/c.html\n"
  },
  {
    "path": "LICENSE",
    "content": "\n                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n"
  },
  {
    "path": "README.md",
    "content": "# IMPORTANT: This repository contains gRPC docker images that are no longer maintained and most of them are out of date (and potentially broken).\n\n*We are working on providing an improved installation story and a better automated mechanism for updating the docker images\nin this repository. Until than happens, please refrain from using the docker images defined here.*\n\n# About this repo\n\nThis is the Git repo containing the official Docker images for [grpc][].\n\n\n# What is gRPC ?\n\nA high performance, open source, general RPC framework that puts mobile and\nHTTP/2 first, available in many programming languages.  For full details, see\nthe official [gRPC documentation][].\n\n\n# Organization\n\nThe repo is set up to mirror the structure of [docker-library][] repos.\n\n- For each grpc release, there is a folder named after the release version.\n- Within each release folder, there is a folder containing Dockerfiles for each of the supported grpc programming languages.\n- Within each language folder, there is a main Dockerfile derived from the latest stable debian release and version of the programming language.\n  - Optionally, there may be sub-folders containing other docker images, e.g, 'slim' versions or versions built at other versions of debian or the programming language\n\nThe folder structure matches that used by [official docker images][]. This\nanticipates the future publishing gRPC as an official docker image once it\nreaches it GA milestone.\n\n\n[docker-library]:https://github.com/docker-library\n[grpc]:http:/grpc.io\n[official docker images]:https://github.com/docker-library/official-images\n[grpc documentation]:http://www.grpc.io/docs/\n"
  }
]