Revert "install goldctl in docker build (#46640)" (#50088)

This reverts commit 7a13d8a0ce.
This commit is contained in:
Dan Field
2020-02-04 00:00:37 -08:00
committed by GitHub
parent 39d13a038f
commit 0299398d59
3 changed files with 25 additions and 22 deletions

View File

@@ -3,12 +3,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Capture the directory this script resides in
SCRIPT_DIRECTORY="$(dirname $(readlink -f "$0"))"
# Set context to flutter/dev
CONTEXT="${SCRIPT_DIRECTORY}/../.."
TAG="${CIRRUS_TAG:-latest}"
# Convert "+" to "-" to make hotfix tags legal Docker tag names.
@@ -18,7 +12,4 @@ TAG=${TAG/+/-}
# pull to make sure we are not rebuilding for nothing
sudo docker pull "gcr.io/flutter-cirrus/build-flutter-image:$TAG"
sudo docker build "$@" \
--tag "gcr.io/flutter-cirrus/build-flutter-image:$TAG" \
--file "$SCRIPT_DIRECTORY/Dockerfile" \
"$CONTEXT"
sudo docker build "$@" --tag "gcr.io/flutter-cirrus/build-flutter-image:$TAG" .