1 # Copyright 2016 gRPC authors. 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 FROM debian:jessie 16 17 # Install packages needed for gRPC and protobuf 18 RUN apt-get update && apt-get install -y \ 19 autoconf \ 20 automake \ 21 build-essential \ 22 curl \ 23 git \ 24 g++ \ 25 libtool \ 26 make \ 27 pkg-config \ 28 unzip && apt-get clean 29 30 RUN apt-get update && apt-get install -y golang && apt-get clean 31 32 RUN echo "deb http://ftp.debian.org/debian jessie-backports main" | tee /etc/apt/sources.list.d/jessie-backports.list 33 RUN apt-get update && apt-get install -t jessie-backports -y cmake && apt-get clean 34 35 CMD ["bash"] 36