Skip to content

Commit

Permalink
Merge pull request #27 from clearmatics/update-cmake
Browse files Browse the repository at this point in the history
Used last version of cmake in Dockerfile for base image
  • Loading branch information
AntoineRondelet committed Apr 30, 2019
2 parents e0b4ed4 + 862bed7 commit 61a224a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile-base
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ RUN apt-get update && apt-get install -y \
gcc \
libxslt-dev \
vim \
cmake \
libssl-dev \
pkg-config \
curl \
Expand All @@ -22,12 +21,15 @@ RUN apt-get update && apt-get install -y \
# Install a recent version of nodejs
RUN curl -sL https://deb.nodesource.com/setup_10.x | sudo bash - && sudo apt-get install -y nodejs

# Configue the environment for gRPC
# Configure the environment for gRPC
RUN apt-get install -y \
build-essential \
autoconf \
libtool

# Install the last version of cmake
RUN pip install cmake --upgrade

RUN git clone -b v1.20.x https://github.com/grpc/grpc /var/local/git/grpc
RUN cd /var/local/git/grpc && git submodule update --init --recursive
RUN cd /var/local/git/grpc/third_party/protobuf && ./autogen.sh && ./configure --prefix=/usr && make -j12 && make check && make install && make clean
Expand Down

0 comments on commit 61a224a

Please sign in to comment.