blob: 62bff44086da9de9e5b8ff3701db40db26015cc0 [file] [log] [blame]
Sergio Slobodrianbe829272017-07-17 14:45:45 -04001#!/bin/bash
Zack Williams41513bf2018-07-07 20:08:35 -07002# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
Sergio Slobodrianbe829272017-07-17 14:45:45 -040015
David K. Bainbridge737b74f2018-01-22 12:57:52 -080016TAG=${TAG:-latest}
17
Sergio Slobodrianbe829272017-07-17 14:45:45 -040018rm -fr buildreport
19rm -f envoyd
David K. Bainbridge737b74f2018-01-22 12:57:52 -080020docker run -e "http_proxy=$http_proxy" -e "https_proxy=$https_proxy" -v $(pwd):/src ${REGISTRY}${REPOSITORY}voltha-go-builder:${TAG}
Sergio Slobodrianbe829272017-07-17 14:45:45 -040021uid=`id -u`
David K. Bainbridge10a7a7e2018-01-29 09:54:40 -080022sudo chown -R ${uid} buildreport
23sudo chown ${uid} envoyd