internal/gapicgen/cmd/genbot: update protoc to 3.12.x
Use Alpine's "edge" branch to get the newest version of protoc.
@@ -7,11 +7,18 @@ RUN apk update && \
# Install bash and ssh tools (needed to run regen.sh etc).
RUN apk add bash openssh openssh-client
RUN which bash
+
+# Install libc compatibility (required by protoc and go)
+RUN apk add libc6-compat
+
+# Use edge for protoc 3.12.x
+# Remove when main upgrades from 3.11.x
+RUN sed -i -e 's/v[[:digit:]]\..*\//edge\//g' /etc/apk/repositories
+RUN apk update
+
# Install protoc and protobuf-dev (common protos).
RUN apk add protoc protobuf-dev
RUN protoc --version
-# Install libc compatibility (required by protoc and go)
-RUN apk add libc6-compat
# Install Go.
RUN wget -O /tmp/go.tgz https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz && \
