Link chrome after dpkg install

This commit is contained in:
zontreck 2024-07-07 02:19:01 -07:00
parent 22f16ac678
commit 70d65c6b65

View file

@ -10,7 +10,7 @@ RUN echo ${JENKINS_SECRET} > /agent.secret
RUN apt update; apt-get upgrade -y 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 android-sdk android-sdk-build-tools android-sdk-platform-tools 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 libgtk-4-1 libgtk-4-1-dev
WORKDIR / WORKDIR /
RUN curl -sO https://ci.zontreck.com/jnlpJars/agent.jar RUN curl -sO https://ci.zontreck.com/jnlpJars/agent.jar
@ -27,10 +27,10 @@ WORKDIR /
RUN rm *.xz RUN rm *.xz
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb 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 dpkg -i google-chrome-stable_current_amd64.deb
RUN ln -sv $(which google-chrome-stable) /bin/google-chrome
RUN flutter --disable-analytics RUN flutter --disable-analytics
RUN flutter doctor RUN flutter doctor