You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
446 B
11 lines
446 B
#!/bin/bash
|
|
set -eu -o pipefail
|
|
|
|
readonly proto_dir="$(mktemp -d protobuf.XXXXXX)"
|
|
# Download an unreleased SHA to include TLS 1.2 support:
|
|
# https://github.com/google/protobuf/pull/4879
|
|
wget -O - https://github.com/google/protobuf/archive/61476b8e74357ea875f71bb321874ca4530b7d50.tar.gz | tar xz -C "$proto_dir"
|
|
|
|
docker build -t protoc-artifacts "$proto_dir"/protobuf-61476b8e74357ea875f71bb321874ca4530b7d50/protoc-artifacts
|
|
rm -r "$proto_dir"
|