docker_build.sh 243 Bytes
Newer Older
1 2 3 4 5
#!/bin/bash

TAG="${CIRRUS_TAG:-latest}"

# pull to make sure we are not rebuilding for nothing
6
sudo docker pull "gcr.io/flutter-cirrus/build-flutter-image:$TAG"
7

8
sudo docker build "$@" --tag "gcr.io/flutter-cirrus/build-flutter-image:$TAG" .