tree: 957f442769c9cd01133619c0b70deb144e34c4e2 [path history] [tgz]
  1. docker_attach.sh
  2. docker_build.sh
  3. docker_login.sh
  4. docker_push.sh
  5. Dockerfile
  6. Gemfile
  7. Gemfile.lock
  8. README.md
dev/ci/docker_linux/README.md

This directory includes scripts to build the docker container image used for building flutter/flutter in our CI system (currently Cirrus).

To run the scripts, you have to set up docker and gcloud. Please refer to the internal flutter team doc for how to set up in a Google internal environment.

To debug the image locally:

  • (Optional) edit the Dockerfile to change how the container image is built.
  • Run ./docker_build.sh to build the container image (sudo permission is required)
  • Run ./docker_attach.sh to start a container from the image and attach to its internal bash shell. From here, you can invoke shell commands from the .cirrus.yml (you will have to manually run any setup steps; e.g. the container will not have the Flutter repo cloned yet).