#!/bin/bash# Print usage and fail.function usage(){echo"Usage: protobuf_optimized_pip.sh PROTOBUF_VERSION PYPI_USERNAME PYPI_PASSWORD">&2exit 1 # Causes caller to exit because we use -e.}# Validate arguments.if[$0!= ./build_wheel_manylinux.sh ];thenecho"Please run this script from the directory in which it is located.">&2exit 1fiif[$# -lt 3 ];thenusageexit 1fiPROTOBUF_VERSION=$1PYPI_USERNAME=$2PYPI_PASSWORD=$3docker rmi protobuf-python-wheeldocker build .-t protobuf-python-wheeldocker run --rm protobuf-python-wheel ./protobuf_optimized_pip.sh $PROTOBUF_VERSION$PYPI_USERNAME$PYPI_PASSWORDdocker rmi protobuf-python-wheel