From 78751ebc34e8c29addca6a637a1b9145f703775b Mon Sep 17 00:00:00 2001 From: zontreck Date: Sun, 7 Jul 2024 02:07:44 -0700 Subject: [PATCH] Download a installer package for chrome --- LinuxGeneralCompiler/Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/LinuxGeneralCompiler/Dockerfile b/LinuxGeneralCompiler/Dockerfile index dca2af8..26f9814 100644 --- a/LinuxGeneralCompiler/Dockerfile +++ b/LinuxGeneralCompiler/Dockerfile @@ -10,9 +10,7 @@ RUN echo ${JENKINS_SECRET} > /agent.secret RUN apt update; apt-get upgrade -y -RUN apt install -y build-essential cmake ninja-build openjdk-17-jdk nasm git curl wget openjdk-17-jre google-chrome-stable android-sdk android-sdk-build-tools android-sdk-platform-tools - -RUN ln -sv $(which google-chrome-stable) /bin/google-chrome +RUN apt install -y build-essential cmake ninja-build openjdk-17-jdk nasm git curl wget openjdk-17-jre android-sdk android-sdk-build-tools android-sdk-platform-tools WORKDIR / RUN curl -sO https://ci.zontreck.com/jnlpJars/agent.jar @@ -27,6 +25,11 @@ RUN echo "export PATH=$PATH:/flutter/bin" WORKDIR / RUN rm *.xz +RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb + +RUN ln -sv $(which google-chrome-stable) /bin/google-chrome + +RUN dpkg -i google-chrome-stable_current_amd64.deb RUN flutter --disable-analytics RUN flutter doctor