on master help sign in
Add protoc executable to Docker image
ce933c3Michael Snoyman
debian-bootstrap.sh+7
@@ -260,3 +260,10 @@ export CLANG_PURE_LLVM_INCLUDE_DIR=/usr/lib/llvm-6.0/include;
260# finally run:
260# finally run:
261ldconfig
261ldconfig
262# EOF: don't build anything below this line
262# EOF: don't build anything below this line
263+
264+# protoc, for proto-lens-combinators test suite
265+# Instructions from: https://google.github.io/proto-lens/installing-protoc.html
266+PROTOC_ZIP=protoc-3.3.0-linux-x86_64.zip
267+curl -OL https://github.com/google/protobuf/releases/download/v3.3.0/$PROTOC_ZIP
268+sudo unzip -o $PROTOC_ZIP -d /usr/local bin/protoc
269+rm -f $PROTOC_ZIP