on master help sign in
Add protoc executable to Docker image
commitce933c390b824a2f93d8dfdc9ecd359c2f4d3a6e authorMichael Snoyman <michael@snoyman.com> dateWed 9 Jan 2019, 13:46 (8 years ago) parenteb88124
1 file changed+7
debian-bootstrap.sh+7
debian-bootstrap.sh+7
@@ -260,3 +260,10 @@ export CLANG_PURE_LLVM_INCLUDE_DIR=/usr/lib/llvm-6.0/include;
260260# finally run:
261261ldconfig
262262# 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