flutter/dev/ci
Greg Spencer 9cea691752
Switch to Debian bullseye, update nodejs to npm package, add flutter desktop run dependencies (#89309)
This change updates the Dockerfile for Cirrus builds:

- Switch to a newer stable Debian build (bullseye instead of stretch)
- Eliminates the very old (10) nodejs install in favor of the npm package
- Installs OpenJDK so that Android SDK manager can run on bullseye
- Installs the prerequisites for Linux desktop flutter run.

The motivation for this change was to include the dependencies for Linux desktop flutter run so that I can run tests that use desktop Flutter apps, but that needs cmake 3.10 or later, and stretch doesn't have a cmake that new. Of course, there's also no openjdk-8-jre for bullseye, so I used OpenJDK from JFrog instead.
2021-09-08 09:52:39 -07:00
..
docker_linux Switch to Debian bullseye, update nodejs to npm package, add flutter desktop run dependencies (#89309) 2021-09-08 09:52:39 -07:00
mac Bump cocoapods from 1.10.1 to 1.10.2 in /dev/ci/mac (#87525) 2021-08-02 17:35:03 -07:00
README.md ✒ Spell Check All .md Files Related to Flutter 💙 (#61564) 2020-07-22 18:23:47 -07:00

This directory includes scripts and tools for setting up Flutter's continuous integration environments.

Cirrus Linux

Flutter's Linux tasks run on a custom Docker image. The Dockerfile for this image can be found at /dev/ci/docker_linux/Dockerfile. On each new change to this Dockerfile, Cirrus will build a new version of the Docker image as a dependency to any Linux tests. It is no longer necessary to manually build and push the Docker image locally.

NOTE: there are some factors external to the actual Dockerfile that would necessitate rebuilding the Docker image, such as upstream code changes, (Linux distribution) repository updates or a file that gets COPYied into the image changing. In this case, a trivial Dockerfile change (such as a comment) would invalidate the cache and trigger a rebuild.