grpc-java/buildscripts/build_docker.sh

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"