aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/grpc_build_deb/Dockerfile
blob: ad26fb35d016ac923d9d501e87ee17511683ff80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Dockerfile to build Debian packages for gRPC C core.
FROM grpc/base

# Install dependencies
RUN apt-get update && apt-get install -y lintian

# Get the source from GitHub
RUN git clone git@github.com:grpc/grpc.git /var/local/git/grpc
RUN cd /var/local/git/grpc && \
  git pull --recurse-submodules && \
  git submodule update --init --recursive

RUN /bin/bash -l -c 'cd /var/local/git/grpc/tools/distpackages && ./build_deb_packages.sh'