1*e07d83d3SAndroid Build Coastguard Worker#!/bin/bash 2*e07d83d3SAndroid Build Coastguard Worker# Copyright 2023 gRPC authors. 3*e07d83d3SAndroid Build Coastguard Worker# 4*e07d83d3SAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License"); 5*e07d83d3SAndroid Build Coastguard Worker# you may not use this file except in compliance with the License. 6*e07d83d3SAndroid Build Coastguard Worker# You may obtain a copy of the License at 7*e07d83d3SAndroid Build Coastguard Worker# 8*e07d83d3SAndroid Build Coastguard Worker# http://www.apache.org/licenses/LICENSE-2.0 9*e07d83d3SAndroid Build Coastguard Worker# 10*e07d83d3SAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software 11*e07d83d3SAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS, 12*e07d83d3SAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*e07d83d3SAndroid Build Coastguard Worker# See the License for the specific language governing permissions and 14*e07d83d3SAndroid Build Coastguard Worker# limitations under the License. 15*e07d83d3SAndroid Build Coastguard Worker 16*e07d83d3SAndroid Build Coastguard Workerset -ex 17*e07d83d3SAndroid Build Coastguard Workercd "$(dirname "$0")"/../.. 18*e07d83d3SAndroid Build Coastguard Worker 19*e07d83d3SAndroid Build Coastguard Worker# Environment Variables: 20*e07d83d3SAndroid Build Coastguard Worker# 21*e07d83d3SAndroid Build Coastguard Worker# TAG_NAME: the docker image tag name 22*e07d83d3SAndroid Build Coastguard Worker# 23*e07d83d3SAndroid Build Coastguard Worker 24*e07d83d3SAndroid Build Coastguard Workerecho Building ${TAG_NAME} 25*e07d83d3SAndroid Build Coastguard Worker 26*e07d83d3SAndroid Build Coastguard Workerdocker build --no-cache -t ${TAG_NAME} -f ./buildscripts/observability-test/Dockerfile . 27