add new docker_attach.sh script and update README (#61363)

This commit is contained in:
Christopher Fujino
2020-07-20 07:21:04 -07:00
committed by GitHub
parent 54c9441723
commit f8a82feb0b
2 changed files with 20 additions and 5 deletions

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Copyright 2014 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
TAG="${CIRRUS_TAG:-latest}"
# Starts an interactive docker container with a bash shell running in it, and
# attaches the user's shell to it.
sudo docker run --interactive --tty \
"gcr.io/flutter-cirrus/build-flutter-image:$TAG" \
/bin/bash