Dockerfile to build debian packages on docker

pull/708/head
Jan Tattermusch 10 years ago
parent 6b2b05ee1c
commit 5d7e05acb7
  1. 13
      tools/dockerfile/grpc_build_deb/Dockerfile

@ -0,0 +1,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'
Loading…
Cancel
Save