![]() 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. |
||
---|---|---|
.. | ||
docker_linux | ||
mac | ||
README.md |
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 COPY
ied into the image
changing. In this case, a trivial Dockerfile
change (such as a comment)
would invalidate the cache and trigger a rebuild.