diff --git a/LinuxGeneralCompiler/Dockerfile b/LinuxGeneralCompiler/Dockerfile index 8a30d9d..25ed2e6 100644 --- a/LinuxGeneralCompiler/Dockerfile +++ b/LinuxGeneralCompiler/Dockerfile @@ -10,7 +10,7 @@ WORKDIR / 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 clang pkg-config +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 android-sdk-platform-23 unzip RUN curl -sO https://ci.zontreck.com/jnlpJars/agent.jar @@ -18,9 +18,16 @@ RUN curl -sO https://storage.googleapis.com/flutter_infra_release/releases/stabl RUN tar -xf /flutter_linux_3.22.2-stable.tar.xz -RUN echo "export PATH=$PATH:/flutter/bin" > /flutter/env +RUN curl -sO https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip -RUN export PATH=$PATH:/flutter/bin +WORKDIR /adk +RUN unzip /commandlinetools-linux-11076708_latest.zip + +RUN echo "export PATH=$PATH:/flutter/bin:/adk/cmdline-tools/bin" > /flutter/env + +WORKDIR / + +RUN export PATH=$PATH:/flutter/bin:/adk/cmdline-tools/bin RUN apt install -y fonts-liberation libgtk-4-1 libgbm1 libu2f-udev libvulkan1 xdg-utils @@ -33,7 +40,7 @@ RUN chown -R root:root /flutter RUN /flutter/bin/flutter --disable-analytics -RUN sdkmanager --install "cmdline-tools;latest" +# RUN sdkmanager --install "cmdline-tools;latest" RUN /flutter/bin/flutter doctor