mirror of https://github.com/grpc/grpc-java.git
9 lines
284 B
Bash
Executable File
9 lines
284 B
Bash
Executable File
#!/bin/bash
|
|
set -eu -o pipefail
|
|
|
|
readonly proto_dir="$(mktemp -d --tmpdir protobuf.XXXXXX)"
|
|
wget -O - https://github.com/google/protobuf/archive/v3.12.0.tar.gz | tar xz -C "$proto_dir"
|
|
|
|
docker build -t protoc-artifacts "$proto_dir"/protobuf-3.12.0/protoc-artifacts
|
|
rm -r "$proto_dir"
|