Skip to content

Commit

Permalink
Merge "Update Java Dockerfile to proto3-alpha-2 and add nanoproto"
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasnoble authored and gerritforge-ltd committed Feb 27, 2015
2 parents 7801cea + a04a64d commit e21da5e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/dockerfile/grpc_java_base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ ENV PATH $PATH:$JAVA_HOME/bin:$M2_HOME/bin
ENV LD_LIBRARY_PATH /usr/local/lib

# Get the protobuf source from GitHub and install it
RUN wget -O - https://github.com/google/protobuf/archive/master.tar.gz | \
RUN wget -O - https://github.com/google/protobuf/archive/v3.0.0-alpha-2.tar.gz | \
tar xz && \
cd protobuf-master && \
cd protobuf-3.0.0-alpha-2 && \
./autogen.sh && \
./configure --prefix=/usr && \
make -j12 && make check && make install && \
cd java && mvn install && cd .. && \
cd javanano && mvn install && cd .. && \
rm -r "$(pwd)"

# Install a GitHub SSH service credential that gives access to the GitHub repo while it's private
Expand Down

0 comments on commit e21da5e

Please sign in to comment.