-
Notifications
You must be signed in to change notification settings - Fork 817
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This also replaces the C++ build image we have from the gRPC docker hub, with one that we manage ourselves, since getting updates in a timely matter was getting difficult. The C++ base will likely go away once the transition to REST based SDK, so the base may end up going away. This is prerequisite for #240
- Loading branch information
1 parent
ce6f88b
commit 86240b1
Showing
324 changed files
with
47,623 additions
and
16,917 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Copyright 2018 Google Inc. All Rights Reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
|
||
# | ||
# This image is manually built (for now) | ||
# as gcr.io/agones-images/grpc-cxx:1.12 | ||
# | ||
|
||
FROM debian:stretch | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
build-essential autoconf libtool git pkg-config curl \ | ||
automake libtool curl make g++ unzip \ | ||
&& apt-get clean | ||
|
||
# install protobuf first, then grpc | ||
ENV GRPC_RELEASE_TAG v1.12.x | ||
RUN git clone -b ${GRPC_RELEASE_TAG} https://github.com/grpc/grpc /var/local/git/grpc && \ | ||
cd /var/local/git/grpc && \ | ||
git submodule update --init && \ | ||
echo "--- installing protobuf ---" && \ | ||
cd third_party/protobuf && \ | ||
./autogen.sh && ./configure --enable-shared && \ | ||
make -j$(nproc) && make -j$(nproc) check && make install && make clean && ldconfig && \ | ||
echo "--- installing grpc ---" && \ | ||
cd /var/local/git/grpc && \ | ||
make -j$(nproc) && make install && make clean && ldconfig |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.