Add needed flutter dependencies
This commit is contained in:
parent
56f74664b6
commit
97b9359425
1 changed files with 5 additions and 2 deletions
|
@ -11,7 +11,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 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 clang pkg-config
|
||||
|
||||
WORKDIR /
|
||||
RUN curl -sO https://ci.zontreck.com/jnlpJars/agent.jar
|
||||
|
@ -22,7 +22,7 @@ RUN tar -xf /flutter_linux_3.22.2-stable.tar.xz
|
|||
|
||||
RUN echo "export PATH=$PATH:/flutter/bin" > /flutter/env
|
||||
|
||||
RUN source /flutter/env
|
||||
RUN export PATH=$PATH:/flutter/bin
|
||||
|
||||
RUN apt install -y fonts-liberation libgtk-4-1 libgbm1 libu2f-udev libvulkan1 xdg-utils
|
||||
|
||||
|
@ -34,6 +34,9 @@ RUN dpkg -i google-chrome-stable_current_amd64.deb
|
|||
RUN chown -R root:root /flutter
|
||||
|
||||
RUN /flutter/bin/flutter --disable-analytics
|
||||
|
||||
RUN sdkmanager --install "cmdline-tools;latest"
|
||||
|
||||
RUN /flutter/bin/flutter doctor
|
||||
|
||||
ENTRYPOINT [ "java", "-jar", "/agent.jar", "-url", "https://ci.zontreck.com", "-secret", "@/agent.secret", "-name", "Linux", "-workDir", "/builder" ]
|
Loading…
Add table
Add a link
Reference in a new issue