forked from flutter/plugins
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'flutter:main' into master
- Loading branch information
Showing
340 changed files
with
3,633 additions
and
1,205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,40 @@ | ||
# The Flutter version is not important here, since the CI scripts update Flutter | ||
# before running. What matters is that the base image is pinned to minimize | ||
# unintended changes when modifying this file. | ||
FROM cirrusci/flutter@sha256:505fe8bce2896c75b4df9ccf500b1604155bf932af7465ffcc66fcae8612f82f | ||
# This is the hash for the 3.0.0 image. | ||
FROM cirrusci/flutter@sha256:0224587bba33241cf908184283ec2b544f1b672d87043ead1c00521c368cf844 | ||
|
||
RUN apt-get update -y | ||
|
||
# Set up Firebase Test Lab requirements. | ||
RUN apt-get install -y --no-install-recommends gnupg | ||
|
||
# Add repo for gcloud sdk and install it | ||
RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | \ | ||
sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list | ||
|
||
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | \ | ||
sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - | ||
|
||
RUN apt-get update && apt-get install -y google-cloud-sdk && \ | ||
gcloud config set core/disable_usage_reporting true && \ | ||
gcloud config set component_manager/disable_update_check true | ||
|
||
RUN yes | sdkmanager \ | ||
"platforms;android-27" \ | ||
"build-tools;27.0.3" \ | ||
"extras;google;m2repository" \ | ||
"extras;android;m2repository" | ||
|
||
RUN yes | sdkmanager --licenses | ||
|
||
# Install formatter. | ||
# Install formatter for C-based languages. | ||
RUN apt-get install -y clang-format | ||
|
||
# Install xvfb to allow running headless | ||
RUN apt-get install -y xvfb libegl1-mesa | ||
# Install Linux desktop build tool requirements. | ||
# Install Linux desktop requirements: | ||
# - build tools. | ||
RUN apt-get install -y clang cmake ninja-build file pkg-config | ||
# Install necessary libraries. | ||
# - libraries. | ||
RUN apt-get install -y libgtk-3-dev libblkid-dev liblzma-dev libgcrypt20-dev | ||
# - xvfb to allow running headless. | ||
RUN apt-get install -y xvfb libegl1-mesa | ||
|
||
# Add repo for Google Chrome and install it | ||
# Install Chrome and make it the default browser, for url_launcher tests. | ||
# IMPORTANT: Web tests should use a pinned version of Chromium, not this, since | ||
# this isn't pinned, so any time the docker image is re-created the version of | ||
# Chrome may change. | ||
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | ||
RUN echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list | ||
RUN apt-get update && apt-get install -y --no-install-recommends google-chrome-stable | ||
|
||
# Make Chrome the default so http: and file: has a handler for url_launcher tests. | ||
# Make Chrome the default for http:, https: and file:. | ||
RUN apt-get install -y xdg-utils | ||
RUN xdg-settings set default-web-browser google-chrome.desktop | ||
RUN xdg-mime default google-chrome.desktop inode/directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
64f84f6a47d276e4d79cb10c203adbddeeeae336 | ||
55d67cc7d99226cd12d6c4a76de357fc2c92823e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
e3c29ec00c9c825c891d75054c63fcc46454dca1 | ||
18a827f3933c19f51862dde3fa472197683249d6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.