diff --git a/LinuxGeneralCompiler/Dockerfile b/LinuxGeneralCompiler/Dockerfile index 82cda96..8d04990 100644 --- a/LinuxGeneralCompiler/Dockerfile +++ b/LinuxGeneralCompiler/Dockerfile @@ -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" ] \ No newline at end of file