Skip to content

Instantly share code, notes, and snippets.

@magick93
Created September 14, 2017 07:38
Show Gist options
  • Save magick93/be5ad02c4da2baa39f931fa3084f33be to your computer and use it in GitHub Desktop.
Save magick93/be5ad02c4da2baa39f931fa3084f33be to your computer and use it in GitHub Desktop.
Dockerfile (i386) based on working (64bit) Dockerfile
FROM i386/ubuntu:17.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y \
build-essential autoconf libtool \
git \
pkg-config \
&& apt-get clean
ENV GRPC_RELEASE_TAG v1.0.0
RUN git clone -b ${GRPC_RELEASE_TAG} https://github.com/grpc/grpc /var/local/git/grpc
# install grpc
RUN cd /var/local/git/grpc && \
git submodule update --init && \
make && \
make install && make clean
#install protoc
RUN cd /var/local/git/grpc/third_party/protobuf && \
make && make install && make clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment