mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Add Chrome to Dockerfile (#11210)
This commit is contained in:
parent
ca86f6d7e1
commit
a6cd477f54
@ -23,9 +23,13 @@ RUN ./flutter/build/install-build-deps-linux-desktop.sh
|
||||
RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | \
|
||||
tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
|
||||
|
||||
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | \
|
||||
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | \
|
||||
apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
|
||||
|
||||
RUN apt-get update && apt-get install -y google-cloud-sdk && \
|
||||
# Add repo for chrome stable
|
||||
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
|
||||
RUN echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | tee /etc/apt/sources.list.d/google-chrome.list
|
||||
|
||||
RUN apt-get update && apt-get install -y google-cloud-sdk google-chrome-stable && \
|
||||
gcloud config set core/disable_usage_reporting true && \
|
||||
gcloud config set component_manager/disable_update_check true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user