11# The Flutter version is not important here, since the CI scripts update Flutter
22# before running. What matters is that the base image is pinned to minimize
33# unintended changes when modifying this file.
4- # This is the hash for the 3.0.0 image.
54FROM cirrusci/flutter@sha256:d99b1ba2602240a74722970b5c0cd704bbe60a7eba7557157c784f2f693c393f
65
76RUN apt-get update -y
@@ -15,29 +14,3 @@ RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | \
1514RUN apt-get update && apt-get install -y google-cloud-sdk && \
1615 gcloud config set core/disable_usage_reporting true && \
1716 gcloud config set component_manager/disable_update_check true
18-
19- # Install formatter for C-based languages.
20- RUN apt-get install -y clang-format
21-
22- # Install Linux desktop requirements:
23- # - build tools.
24- RUN apt-get install -y clang cmake ninja-build file pkg-config
25- # - libraries.
26- RUN apt-get install -y libgtk-3-dev
27- # - xvfb to allow running headless.
28- RUN apt-get install -y xvfb libegl1-mesa
29-
30- # Install Chrome and make it the default browser, for Linux url_launcher tests.
31- # IMPORTANT: Web tests should use a pinned version of Chromium, not this, since
32- # this isn't pinned, so any time the docker image is re-created the version of
33- # Chrome may change.
34- RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
35- RUN echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
36- RUN apt-get update && apt-get install -y --no-install-recommends google-chrome-stable
37- # Make Chrome the default for http:, https: and file:.
38- RUN apt-get install -y xdg-utils
39- RUN xdg-settings set default-web-browser google-chrome.desktop
40- RUN xdg-mime default google-chrome.desktop inode/directory
41-
42- # Needed for web_benchmarks.
43- RUN sudo apt-get install -y libgbm-dev
0 commit comments